aboutsummaryrefslogtreecommitdiff
path: root/gn3/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/errors.py')
-rw-r--r--gn3/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/errors.py b/gn3/errors.py
index 8331028..c53604f 100644
--- a/gn3/errors.py
+++ b/gn3/errors.py
@@ -108,6 +108,7 @@ def handle_generic(exc: Exception) -> Response:
def handle_llm_error(exc: Exception) -> Response:
""" Handle llm erros if not handled anywhere else. """
+ current_app.logger.error(exc)
resp = jsonify({
"query": exc.args[1],
"error_type": type(exc).__name__,