How do we handle exception breakpoint?

In the app that I am using , sometimes there is a exception breakpoint error which can’t be close or cant be killed as you can see on the screenshot below , this error could occur anywhere in the app when the bot is running , how to detect and handle this error using reframework if it cant be killed to restart ? is there some better way ? Thanks.

image

How do we generally capture an application error in reframework by adding a transition ? that if the error above occur it will directly go to end process