Keep raising HTTPException in with_pool wrapper
This was removed by mistake in c8ebaa541e21 Closes #13771
This commit is contained in:
@@ -203,6 +203,8 @@ def with_pool(func):
|
||||
raise
|
||||
else:
|
||||
abort(HTTPStatus.BAD_REQUEST, e)
|
||||
except exceptions.HTTPException:
|
||||
raise
|
||||
except Exception as e:
|
||||
if request.rpc_method:
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user