From: jfa Date: Wed, 16 Aug 2006 10:23:59 +0000 (+0000) Subject: PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to... X-Git-Tag: For_OCT_611 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8df60d492444d8b408934429973da915b313e1ca;p=modules%2Fgeom.git PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- diff --git a/src/GEOMGUI/GeometryGUI_Swig.i b/src/GEOMGUI/GeometryGUI_Swig.i index 2001fed2e..35c450ff7 100644 --- a/src/GEOMGUI/GeometryGUI_Swig.i +++ b/src/GEOMGUI/GeometryGUI_Swig.i @@ -47,13 +47,7 @@ PyAllowThreadsGuard guard; - try { - $action - } - catch(...) { - PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught"); - return NULL; - } + $action } class GEOM_Swig