I use switch activity and inside it a try and catch to invoke a workflow file and catch any exception if occurs. However try and catch won’t catch the exception. Run main.xaml to see for yourself.
Sure, i get selector exception(“RemoteException wrapping UiPath.Core.SelectorNotFoundException”) because uipath can’t find the browser to attach. I use a system.exception in try&catch to cover all kinds of exceptions yet it doesn’t catch it.
The zip file actually contains a 1:1 reproduction, can you please look into it? It should log “exception caught” but it doesn’t.