aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-27 11:34:42 +0300
committerBonfaceKilz2024-08-29 10:42:16 +0300
commitb84775931c369299504dfe2dd42491d042197483 (patch)
tree4040384bfebd87a2907d6140cceceb84b5481d06
parentb707cb8c02908c975520f532c0fc09c880bfd029 (diff)
downloadgenenetwork3-b84775931c369299504dfe2dd42491d042197483.tar.gz
Update doc-string for "handle_sparql_errors".
* gn3/errors.py (handle_sparql_errors): Correct the doc-string. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn3/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/errors.py b/gn3/errors.py
index 525d703..f618bab 100644
--- a/gn3/errors.py
+++ b/gn3/errors.py
@@ -82,7 +82,7 @@ def handle_sqlite3_errors(exc: OperationalError):
def handle_sparql_errors(exc):
- """Handle sqlite3 errors if not handled anywhere else."""
+ """Handle sparql/virtuoso errors if not handled anywhere else."""
current_app.logger.error("Handling sparql errors", exc_info=True)
code = {
"EndPointInternalError": 500,