diff options
| author | Frederick Muriuki Muriithi | 2025-07-09 11:51:37 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-07-09 11:57:25 -0500 |
| commit | 1740ccbe30946aa6693a6a9ed8211a2ff7cfbf3d (patch) | |
| tree | af5b89ba28a39cd859ae943e8882f39f5ae54069 /gn_auth/__init__.py | |
| parent | e7a89061cba689268daf4991038d9bec763a06d3 (diff) | |
| download | gn-auth-1740ccbe30946aa6693a6a9ed8211a2ff7cfbf3d.tar.gz | |
Improve error handling and reporting.
- Refactor out common functionality into reusable utilities - Handle errors from the Authlib library/package - Handle 4xx errors generically.
Diffstat (limited to 'gn_auth/__init__.py')
| -rw-r--r-- | gn_auth/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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" ) |
