Keep raising HTTPException in with_pool wrapper

This was removed by mistake in c8ebaa541e21

Closes #13771
This commit is contained in:
Cédric Krier
2024-12-21 18:58:50 +01:00
parent 5b5377abca
commit 7464e4005c
+2
View File
@@ -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