From 4774fda381e359fbede68eb971d72eeee65787ff Mon Sep 17 00:00:00 2001 From: Ulincsys Date: Mon, 20 May 2024 17:01:06 -0500 Subject: [PATCH] Add more detail to 500 page report Signed-off-by: Ulincsys --- augur/api/view/augur_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/augur/api/view/augur_view.py b/augur/api/view/augur_view.py index 5166f2c5a3..ff4b25145c 100644 --- a/augur/api/view/augur_view.py +++ b/augur/api/view/augur_view.py @@ -48,6 +48,7 @@ def internal_server_error(error): traceback.print_tb(error.__traceback__, file=errout) # traceback.print_exception(error, file=errout) stacktrace = errout.getvalue() + stacktrace += f"\n{type(error).__name__}: {str(error)}" errout.close() except Exception as e: logger.error(e)