aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/errors.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gn3/errors.py b/gn3/errors.py
index 806d143..3752a9a 100644
--- a/gn3/errors.py
+++ b/gn3/errors.py
@@ -8,7 +8,6 @@ from SPARQLWrapper.SPARQLExceptions import (
EndPointInternalError,
EndPointNotFound,
QueryBadFormed,
- SPARQLWrapperException,
URITooLong,
Unauthorized
)
@@ -70,7 +69,7 @@ def handle_sqlite3_errors(exc: OperationalError):
}), 500
-def handle_sparql_errors(exc: SPARQLWrapperException):
+def handle_sparql_errors(exc):
"""Handle sqlite3 errors if not handled anywhere else."""
current_app.logger.error(exc)
__code = {