summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-23 10:50:59 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:54 +0100
commit0d73df5c10e88cfd0a8b97d1a23bbb8788c80705 (patch)
treed1102b86c6367ec4552c2132d2cf6f4e27ca7018
parentFix config generation (diff)
downloadsynapse-0d73df5c10e88cfd0a8b97d1a23bbb8788c80705.tar.xz
Print something if the unforseen happens.
-rw-r--r--synapse_topology/server/error_handlers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse_topology/server/error_handlers.py b/synapse_topology/server/error_handlers.py
index 99ddfad036..22825159d0 100644
--- a/synapse_topology/server/error_handlers.py
+++ b/synapse_topology/server/error_handlers.py
@@ -42,5 +42,6 @@ def base_config_in_use(request, failure):
 
 @app.handle_errors(Exception)
 def handle_generic_error(request, failure):
+    print(failure)
     request.setResponseCode(500)
     return "Internal server error\n{}".format(failure)