From 2d59c4a2fb4b40fc0cfb6dfeb9e5aa1a420eddbd Mon Sep 17 00:00:00 2001 From: mancini <mancini@astron.nl> Date: Wed, 30 Jun 2021 16:27:59 +0200 Subject: [PATCH] Fix not rethrowing exception --- lib/query.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/query.py b/lib/query.py index d8b4718..f66ea67 100644 --- a/lib/query.py +++ b/lib/query.py @@ -34,7 +34,8 @@ def lta_on_error_print(func): logging.error('error sending request on LTA rpc with code %s: %s', error.faultCode, _hide_password(error.faultString)) raise LTAClientError() - + except Exception as e: + raise e return wrapper -- GitLab