Base: do not report C++ exception when converting it to Python exception
See https://forum.freecadweb.org/viewtopic.php?f=23&t=56464
This commit is contained in:
@@ -80,7 +80,6 @@ PartExport extern PyObject* PartExceptionOCCDimensionError;
|
||||
str += " "; \
|
||||
if (msg) {str += msg;} \
|
||||
else {str += "No OCCT Exception Message";} \
|
||||
Base::Console().Error(str.c_str()); \
|
||||
_Py_Error(R,Part::PartExceptionOCCError,str.c_str()); \
|
||||
} \
|
||||
_PY_CATCH(R)
|
||||
|
||||
Reference in New Issue
Block a user