From 1740ccbe30946aa6693a6a9ed8211a2ff7cfbf3d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 9 Jul 2025 11:51:37 -0500 Subject: Improve error handling and reporting. - Refactor out common functionality into reusable utilities - Handle errors from the Authlib library/package - Handle 4xx errors generically. --- gn_auth/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn_auth/__init__.py') diff --git a/gn_auth/__init__.py b/gn_auth/__init__.py index cf8989d..aebc63b 100644 --- a/gn_auth/__init__.py +++ b/gn_auth/__init__.py @@ -72,7 +72,8 @@ def gunicorn_loggers(appl: Flask) -> None: _LOGGABLE_MODULES_ = ( "gn_auth.errors", - "gn_auth.errors.tracing", + "gn_auth.errors.common", + "gn_auth.errors.authlib", "gn_auth.errors.http.http_4xx_errors", "gn_auth.errors.http.http_5xx_errors" ) -- cgit v1.2.3