mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +05:00
PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions.
This commit is contained in:
parent
86081f7d0a
commit
8df60d4924
@ -47,13 +47,7 @@
|
|||||||
|
|
||||||
PyAllowThreadsGuard guard;
|
PyAllowThreadsGuard guard;
|
||||||
|
|
||||||
try {
|
$action
|
||||||
$action
|
|
||||||
}
|
|
||||||
catch(...) {
|
|
||||||
PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class GEOM_Swig
|
class GEOM_Swig
|
||||||
|
Loading…
Reference in New Issue
Block a user