How to get actual message of activity from throw activity?

Hi Team,

I am using ‘Throw’ activity in the catch block & if bot is get failed while clicking on any activity then i am getting ‘UI element not found’ error message. So, is it possible to get message of which activity is failed?

Please help me.

Hi @Smitesh_Aher2

Exception.Message will give the original message in the Throw activity. It will give the error message.

Exception.source will give the source of the activity where it was failed.

Hope it helps!!

@Smitesh_Aher2
image

@Smitesh_Aher2,

If you are looking for the activity name/source which thrown the exception, follow this solution:

Thanks,
Ashok :slight_smile: