Open
Description
if debug=True or propagate_exceptions=True got_request_exception signal repeat execution, This statement can be avoided by moving it to the back of the judgment
#api.py line610
def handle_error(self, e):
got_request_exception.send(current_app._get_current_object(), exception=e)
if not isinstance(e, HTTPException) and current_app.propagate_exceptions:
exc_type, exc_value, tb = sys.exc_info()
if exc_value is e:
raise
else:
raise e