Get activity name and workflow name that error

Hello,
Now I use try catch for manage error.
But I want to know activity name and workflow that error.

now I use

exception.source but show UiPath.UIAutomationNext Activity
Now not show actual activity name
image

Please guide me for solve it.
Thank you

@Stef_99

check the reference

Rename the activity with a valid name which explains the functionality and see

@Lak_Ui I already change but show data same.

Hi @Stef_99 ,

The solution we worked out for getting the activity name from and when a error happens didn’t work.

The thread we had ,

Thanks,
Gautham.