details: https://code.tryton.org/tryton/commit/6861991936ce
branch: default
user: Cédric Krier <[email protected]>
date: Thu Jun 18 16:23:15 2026 +0200
description:
Log unexpected Exception using exception level
diffstat:
trytond/trytond/wsgi.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 82d85906db01 -r 6861991936ce trytond/trytond/wsgi.py
--- a/trytond/trytond/wsgi.py Sat Jun 27 08:50:17 2026 +0200
+++ b/trytond/trytond/wsgi.py Thu Jun 18 16:23:15 2026 +0200
@@ -132,8 +132,7 @@
"Exception when processing %s", request, exc_info=True)
return exceptions.ServiceUnavailable(description=str(e))
except Exception as e:
- logger.debug(
- "Exception when processing %s", request, exc_info=True)
+ logger.exception("Exception when processing %s", request)
if self.dev:
tb_s = ''.join(traceback.format_exception(*sys.exc_info()))
for path in sys.path: