How I can improve error managment in Reframework in uipath stuido

Hi ,

My robot is encountering a lot of errors and I have not been able to track them , any idea? , please if there is send me an exemple with reframework ., and i have an issue when the robot send email the requestors answer but they should not , any proposal regarding the content to prevent this issue ?

Regards ,

Hi @aya.lajili

In REFramewroks it will automatically grab the exceptions happend in the project.
If one transaction is failed due to business exception you will give the send outlook mail message activity in business exception transition. In that mail body give “businessexception.source” it will give the information of where the exception triggers in the project.
Do the same for System exception in system transition in mail body give the “Systemexception.source”.

Regards, It may help you!!

Hi,

Along with exception message pass in exception.source to the body. This would help you in tracking which activity has failed

Cheers

yes , i know that’s already but i 'am searching for improvements idea’s

I know in this way only. Exception.source will give the information correctly. @aya.lajili

1 Like

Hi @aya.lajili ,

To be able to track it properly,
Whenever you’re entering a new workflow or sequence. Please write a log message stating that you’re currently in this workflow.
In the Catch section of Try/Catch try to provide the source and message of exception then and there, and then use Rethrow at proper places.

These are some of the tips I can give to you.
Try using as many logs as required to properly identify the position of your bots. Till what part it has run successfully.

Thanks
Aditya