better error handling for this

This commit is contained in:
Christine Dodrill 2016-02-06 01:01:15 -08:00
parent be1dd411ee
commit ce0fb7983a
1 changed files with 35 additions and 33 deletions

View File

@ -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()