From fff34e8527ac7d699c0f564fffbbd2c4f08d01a5 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sun, 4 Feb 2024 09:44:51 +0100 Subject: [PATCH] debug reraise error --- src/qcodes/utils/function_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qcodes/utils/function_helpers.py b/src/qcodes/utils/function_helpers.py index 1fca19de39ed..ba919efcae99 100644 --- a/src/qcodes/utils/function_helpers.py +++ b/src/qcodes/utils/function_helpers.py @@ -40,5 +40,6 @@ def is_function(f: object, arg_count: int, coroutine: bool = False) -> bool: inputs = [0] * arg_count sig.bind(*inputs) return True - except TypeError: + except TypeError as e: + raise e return False