Commit b172f788 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed missing API errorhandler description.

parent e3045f03
Pipeline #68555 passed with stages
in 14 minutes and 49 seconds
......@@ -29,4 +29,5 @@ api = Api(
# Otherwise the global app error handler won't be called.
@api.errorhandler(Exception)
def errorhandler(error):
'''When an internal server error is caused by an unexpected exception.'''
return str(error)
......@@ -50,4 +50,5 @@ api = Api(
# Otherwise the global app error handler won't be called.
@api.errorhandler(Exception)
def errorhandler(error):
'''When an internal server error is caused by an unexpected exception.'''
return str(error)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment