diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-11-15 09:55:33 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-11-15 09:55:33 (GMT) |
commit | 3e21278480a25552401644cd0dc168e3588508dd (patch) | |
tree | f9333e7783ff5a9ab1f193b9d5d5eb334a7e3b2b | |
parent | adf4a8d487a46611f592a8189076cd2088fddeb0 (diff) |
Do not "hide" raised Python exceptions.
-rw-r--r-- | plugins/pychrysalide/helpers.c | 6 |
1 files changed, 0 insertions, 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; } |