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
Hi,
I'm having a problem where Stateless is not catching any undhandled exceptions. Say I want to throw an error in one of the steps; how would I handle it outside the steps itself? Current in RELEASE compilation it even gives me a BSOD?
In debug mode i find it throws the exception on this but i dont seem to find a way to handle it (unless I handle it in Step10 function):
.OnEntry(async x => await Step10())
Would appreciate your feedback.
The text was updated successfully, but these errors were encountered:
Have you tried using the .OnEntryAsync method call instead of OnEntry, and use FireAsync when transitioning. (where you normally use Fire) - this could be the root of your issue.
You could also have a look at the OnUnhandledTrigger/OnUnhandledTriggerAsync to create your own behavior for exceptions, i believe. (havent tested it)
Hi,
I'm having a problem where Stateless is not catching any undhandled exceptions. Say I want to throw an error in one of the steps; how would I handle it outside the steps itself? Current in RELEASE compilation it even gives me a BSOD?
In debug mode i find it throws the exception on this but i dont seem to find a way to handle it (unless I handle it in Step10 function):
.OnEntry(async x => await Step10())
Would appreciate your feedback.
The text was updated successfully, but these errors were encountered: