From 2793325c507353c9896d8e1dbd41b81d83d732cd Mon Sep 17 00:00:00 2001 From: gnat Date: Thu, 3 Oct 2024 20:41:50 -0700 Subject: [PATCH] fixed error logging problem --- src/lib/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/router.py b/src/lib/router.py index 5130299..9bda274 100644 --- a/src/lib/router.py +++ b/src/lib/router.py @@ -30,7 +30,7 @@ class Route: return response except Exception as e: - log.error(traceback.format_exc) + log.error(traceback.format_exc()) return error_page(500) def matches(self, request: 'Request') -> bool: