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
Slight risk of the introduction of event suppression in BHoM/BHoM_Engine#3286 is that it is global, and if anything happens that means that the call to StopSuppressRecordingEvents is not reached for whatever reason (pre-mature return/exception/something else) that will mean that the warning system is supressed for all other components running in a script.
As a safety mechanism, we could add in a call to StopSuppressRecordingEvents as a final step to be called from the run method in the BHoM_UI to ensure that the warning system is always on for subsequent components.
The text was updated successfully, but these errors were encountered:
I would add the ThrowErrorsAsExceptions method to this as well and ensuring that resets to the default state as well (once BHoM/BHoM_Engine#3302 is merged).
Description:
Slight risk of the introduction of event suppression in BHoM/BHoM_Engine#3286 is that it is global, and if anything happens that means that the call to StopSuppressRecordingEvents is not reached for whatever reason (pre-mature return/exception/something else) that will mean that the warning system is supressed for all other components running in a script.
As a safety mechanism, we could add in a call to StopSuppressRecordingEvents as a final step to be called from the run method in the BHoM_UI to ensure that the warning system is always on for subsequent components.
The text was updated successfully, but these errors were encountered: