aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/errors.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-24 11:34:09 +0300
committerFrederick Muriuki Muriithi2024-04-24 11:34:09 +0300
commit6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d (patch)
tree24234aa8fa1c4b6227322aa3c58e130697cb96bb /gn_auth/errors.py
parentb317cd7e3684bf7c034ad0a1bb208d55fb87b164 (diff)
downloadgn-auth-6d61ef8de94fa87cb6ee31cc57f1f37dd04d097d.tar.gz
Move the errors module up one level to break circular dependencies.
Diffstat (limited to 'gn_auth/errors.py')
-rw-r--r--gn_auth/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/errors.py b/gn_auth/errors.py
index 7e90659..7b6ad33 100644
--- a/gn_auth/errors.py
+++ b/gn_auth/errors.py
@@ -4,7 +4,7 @@ import traceback
from werkzeug.exceptions import NotFound
from flask import Flask, request, jsonify, current_app, render_template
-from gn_auth.auth.authorisation.errors import AuthorisationError
+from gn_auth.auth.errors import AuthorisationError
def add_trace(exc: Exception, errobj: dict) -> dict:
"""Add the traceback to the error handling object."""