Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Oct 4, 2024
1 parent 0dd8cb5 commit 2c1baf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdci_data_analysis/flask_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 2c1baf4

Please sign in to comment.