Skip to content

Commit

Permalink
signed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrisaberi committed Nov 6, 2023
1 parent ef12d9f commit e49408d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async def execute():
return response


# check if a 500 error code is thrown
@app.errorhandler(500)
def internal_error(error):
return "500 error: {}".format(str(error)), 500

0 comments on commit e49408d

Please sign in to comment.