UiPath Automation Developer Associate v1 — Question 15
What is the correct Log Message expression that the developer should use to integrate comprehensive log messages into the process under development, indicating which activity caused the error?
Answer options
- A. "Exception occurred at " + exception.StackTrace
- B. "Application Exception at " + exception.Source
- C. exception Message + " at" + exception.Source
- D. "Exception occurred at " + exception.Source
Correct answer: A
Explanation
The correct answer, A, provides the most detailed information by including the StackTrace, which indicates where the error originated. Options B and D mention the Source, which is less informative than the StackTrace in pinpointing the exact error location. Option C lacks clarity as it omits necessary context and formatting.