Try catch: how to catch all exceptions?

Dear all,

I am trying to catch all exceptions that might occur in my workflow. I use a try catch but don’t know which value to put into this field: image

I tried System.Exception but this does for example not catch the UiPath.Core.SelectorNotFound Exception. How can I catch all exceptions?

Many thanks in advance.

Best regards


@juka give system.exception

Hi @juka

Make sure that all your activities are in the try block. Then only the exceptions will be handled by catch block.

Karthik Byggari