Skip to content

Commit

Permalink
Merge pull request #2802 from chaoss/improve-500-report
Browse files Browse the repository at this point in the history
Add more detail to 500 page report
  • Loading branch information
IsaacMilarky authored May 21, 2024
2 parents 064a917 + 4774fda commit ca489d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions augur/api/view/augur_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca489d5

Please sign in to comment.