You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently workarounds are used (e.g. see the EditControls command) to handle crashes while C++ is handling Python code. These exceptions should be handled properly and the workarounds removed.
The text was updated successfully, but these errors were encountered:
I had a quick look at this issue, and it should be possible to catch an exception in a command by default, what we cannot do is propagate the exception, as exceptions in slots have undefined behaviour in QT (https://doc.qt.io/qtforpython-6/overviews/exceptionsafety.html#signals-and-slots), but I am adding a function to log the exceptions in #37
So It might be better to leave EditControls as it is because we will have to store and retrieve the exception from the command as it cannot be propagated
Currently workarounds are used (e.g. see the
EditControls
command) to handle crashes while C++ is handling Python code. These exceptions should be handled properly and the workarounds removed.The text was updated successfully, but these errors were encountered: