Hide pre block altogether if error message does not exist

This commit is contained in:
Jake 2014-12-06 09:07:57 -06:00
parent b21d8cba31
commit cd7830242e

View File

@ -4,4 +4,5 @@ block content
.container.errmsg
h1= message
h2= error.status
pre #{error.stack}
if error.stack
pre #{error.stack}