Try Catch System.Exception not catching all exceptions

I’m trying to use system.exception in my try catch to catch all breaks in my bot, but it doesn’t catch all errors.

Hi @Josh_Caton ,
which error it is not able to catch?

I want it to catch any errors in the macro, but specifically the last one it didn’t catch while I was trying to force an exception to test was: Type Into ‘Date Range - Start Date’: Could not find the user-interface (UI) element for this action.

Hi @Josh_Caton ,
Did you try this?

In browse for more

I don’t need that specific exception, I just want an exception that will run for any error that happens in the macro, is that possible?

1 Like