summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-11-15 09:55:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-11-15 09:55:33 (GMT)
commit3e21278480a25552401644cd0dc168e3588508dd (patch)
treef9333e7783ff5a9ab1f193b9d5d5eb334a7e3b2b /plugins
parentadf4a8d487a46611f592a8189076cd2088fddeb0 (diff)
Do not "hide" raised Python exceptions.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysalide/helpers.c6
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;
}