From e525eeb1cddd07e7834dcd369631dd280223eb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Jun 2026 16:23:15 +0200 Subject: [PATCH] Log unexpected Exception using exception level --- trytond/trytond/wsgi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trytond/trytond/wsgi.py b/trytond/trytond/wsgi.py index d951a1bea0..ee62d8b842 100644 --- a/trytond/trytond/wsgi.py +++ b/trytond/trytond/wsgi.py @@ -132,8 +132,7 @@ class TrytondWSGI(object): "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: