better error handling for this
This commit is contained in:
parent
be1dd411ee
commit
ce0fb7983a
|
@ -199,6 +199,7 @@ routes:
|
|||
fail()
|
||||
|
||||
get "/@kind/@id":
|
||||
try:
|
||||
var
|
||||
title: string = ""
|
||||
ctx: Context
|
||||
|
@ -242,5 +243,6 @@ routes:
|
|||
ctx.pagination(qid, @"kind")
|
||||
|
||||
renderMustache(title, browseTemplate, ctx)
|
||||
except: fail()
|
||||
|
||||
runForever()
|
||||
|
|
Loading…
Reference in New Issue