Grammar
This commit is contained in:
parent
a45efa6433
commit
fd43b3658e
@ -22,7 +22,7 @@ def method_not_allowed(e):
|
|||||||
|
|
||||||
@bp_errors.app_errorhandler(500)
|
@bp_errors.app_errorhandler(500)
|
||||||
def internal_error(e):
|
def internal_error(e):
|
||||||
return {"Internal Server Error": "An error occured on he server"}, 500
|
return {"Internal Server Error": "An error occurred on he server"}, 500
|
||||||
|
|
||||||
@bp_errors.app_errorhandler(501)
|
@bp_errors.app_errorhandler(501)
|
||||||
def internal_error(e):
|
def internal_error(e):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user