boxesserver: Message to indicate the traceback was caught

This commit is contained in:
Florian Festi 2019-12-17 11:48:12 +01:00
parent a39567598c
commit 3b2e214bf1
1 changed files with 1 additions and 0 deletions

View File

@ -498,6 +498,7 @@ class BServer:
box.close()
except Exception as e:
if not isinstance(e, ValueError):
print("Exception during rendering:")
traceback.print_exc()
start_response("500 Internal Server Error",
headers)