Page 1 of 1

A developer wants to ensure that a process they are developing includes coherent logs with meaningful log messages. Duri

Posted: Wed Mar 15, 2023 5:19 am
by answerhappygod
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