Track Custom activity error

I need to track the error occur during custom activity execution and track that error using uipath log Message, any idea…

Are you using try/catch block around your custom activity. If any error occurs, it will be caught in catch block and then you can log the message in catch block.

Regards,
Karthik Byggari

i think you not getting my issue, i need to track error occur inside the custom activity and track that error on uipath using log