When Python script jobs fail, exception information is no longer logged to the job's output.
For instance, a job running the code below displays the print statement in its output, but does not display the exception information in its output :
print("This should fail.")
raise Exception("We won't see this.")
Expected behavior
[information] This should fail.
[error] Traceback (most recent call last):
[error] File "C:\ProgramData\UniversalAutomation\Repository\Test\test.py", line 2, in <module>
[error] raise Exception("We won't see this.")
[error] Exception: We won't see this.
Version
4.3.2
Severity
Medium
Environment
msi
Steps to Reproduce
When Python script jobs fail, exception information is no longer logged to the job's output.
For instance, a job running the code below displays the print statement in its output, but does not display the exception information in its output :
Expected behavior
Actual behavior
Additional Environment data
No response
Screenshots/Animations
No response