Based on UiPath best practices, how should the Log Message activity in the Catch section of this exception be configured?

A developer wants to ensure that a process they are developing includes coherent logs with meaningful log messages. During the execution of the process, an application exception is caught and stored in a local variable called exception.

Based on UiPath best practices, how should the Log Message activity in the Catch section of this exception be configured?
A . Level: Warn
Message: exception.Message + "at" + exception.Source
B . Level: Error
Message: "Exception occurred at" + exception.Source
C . Level: Fatal
Message: exception.Message

D . Level: Info
Message: "Application Exception at" + exception.Source

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments