From 3e21278480a25552401644cd0dc168e3588508dd Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Fri, 15 Nov 2024 10:55:33 +0100 Subject: Do not "hide" raised Python exceptions. --- plugins/pychrysalide/helpers.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/pychrysalide/helpers.c b/plugins/pychrysalide/helpers.c index 0ca133f..d361c3e 100644 --- a/plugins/pychrysalide/helpers.c +++ b/plugins/pychrysalide/helpers.c @@ -273,12 +273,6 @@ PyObject *run_python_method(PyObject *module, const char *method, PyObject *args PyErr_Restore(type, value, traceback); - if (result == NULL && PyErr_Occurred() != NULL) - PyErr_Print(); - - if (result == NULL) - Py_Exit(EXIT_FAILURE); - return result; } -- cgit v0.11.2-87-g4458