Skip to content

Commit 3b4008e

Browse files
ponyisiBenGalewsky
authored andcommitted
Try to fix exception propagation from REST api
1 parent 22b32bc commit 3b4008e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servicex_app/servicex_app/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def b64decode(text): # needed for python selection decoding to web page.
294294
app.logger.error("Supplied Transformer Persistent Volume Claim Doesn't exist")
295295
sys.exit(-1)
296296

297-
api = Api(app)
297+
api = Api(app, errors=Flask.errorhandler)
298298

299299
# ensure the instance folder exists
300300
try:

0 commit comments

Comments
 (0)