From 2c1baf4b0d0ad63be0265ae347c5ddd81923ad1f Mon Sep 17 00:00:00 2001 From: burnout87 Date: Fri, 4 Oct 2024 16:12:40 +0200 Subject: [PATCH] logging --- cdci_data_analysis/flask_app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdci_data_analysis/flask_app/app.py b/cdci_data_analysis/flask_app/app.py index 10eb0db3..4b0699dc 100644 --- a/cdci_data_analysis/flask_app/app.py +++ b/cdci_data_analysis/flask_app/app.py @@ -476,7 +476,7 @@ def run_adql_query(): return make_response(error_message) except Exception as e: - error_message = f"Error while running an ADQL query: {str(e)}" + error_message = f"Error while running an ADQL query: {str(e)}\n{traceback.format_exc()}" logging.getLogger().error(error_message) sentry.capture_message(error_message) return make_response(f"Internal error while running an ADQL query. Our team is notified and is working on it.")