include exception in template vars

for custom templates
This commit is contained in:
Min RK
2019-04-05 10:25:40 +02:00
parent 7f9e77ce5b
commit 49cc794937

View File

@@ -291,6 +291,7 @@ class SpawnPendingHandler(BaseHandler):
spawn_url=spawn_url, spawn_url=spawn_url,
failed=True, failed=True,
failed_message=getattr(exc, 'jupyterhub_message', ''), failed_message=getattr(exc, 'jupyterhub_message', ''),
exception=exc,
) )
self.finish(html) self.finish(html)
return return