This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 62859ce7acc55164ab33362cae59bdd17799f876 Author: Daniel Gruno <[email protected]> AuthorDate: Thu Sep 10 12:13:21 2020 +0200 bit more comments on workflow --- server/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/main.py b/server/main.py index 5798dfa..f2a75ef 100644 --- a/server/main.py +++ b/server/main.py @@ -124,6 +124,8 @@ class Server(plugins.server.BaseServer): return aiohttp.web.Response( headers=headers, status=404, text="Content not found" ) + # If a handler hit an exception, we need to print that exception somewhere, + # either to the web client or stderr: except: if session.database: self.dbpool.put_nowait(session.database)
