Exam UiARD All QuestionsBrowse all questions from this exam
Question 123

A developer wants to ensure that a process they are developing includes log messages that are meaningful and indicate which activity caused the error. During the execution of the process, an

Application Exception is caught and stored in a local variable called exception.

How should the Message property of the Log Message activity in the Catch section of this exception be configured?

    Correct Answer: A

    To ensure log messages are meaningful and indicate which activity caused the error, it is essential to include both the message and the source of the exception. The Message property should be configured to include the exception message combined with the source of the exception. This provides detailed information about what went wrong and where it happened. Therefore, the correct configuration is to concatenate exception.Message with 'at' and exception.Source.

Discussion
KondaSaiCharanGoudOption: A

Exception.Source doesnt give a full picture on the Exception, so exception.message is the must

LarcAi_TrainingOption: C

The given answer is correct