From a72888e3310cabf1b8ea37360614e8be33e7587b Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 24 Oct 2022 22:03:31 +0200 Subject: [PATCH] Enabling polymorphic re-throw, hence supporting TypeError --- src/pya/pya/pyaCallables.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pya/pya/pyaCallables.cc b/src/pya/pya/pyaCallables.cc index 472f2c68b..1ac8f47fd 100644 --- a/src/pya/pya/pyaCallables.cc +++ b/src/pya/pya/pyaCallables.cc @@ -614,7 +614,7 @@ push_args (gsi::SerialArgs &arglist, const gsi::MethodBase *meth, PyObject *args } ex.set_basic_msg (msg); - throw ex; + throw; } catch (...) {