diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-08-23 10:50:59 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-08-28 15:59:54 +0100 |
commit | 0d73df5c10e88cfd0a8b97d1a23bbb8788c80705 (patch) | |
tree | d1102b86c6367ec4552c2132d2cf6f4e27ca7018 | |
parent | Fix config generation (diff) | |
download | synapse-0d73df5c10e88cfd0a8b97d1a23bbb8788c80705.tar.xz |
Print something if the unforseen happens.
-rw-r--r-- | synapse_topology/server/error_handlers.py | 1 |
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) |