print('Error - ' ) is not working as expected in azure python runbook
Ravi Shekhar
1
Reputation point
Hi ,
I am referring below link for printing error message in Error tab of Azure Python Runbook.
https://learn.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-python-3
Below is the print statement used by me
try:
raise Exception('one', 'two')
except Exception as detail:
print ('ERROR: Handling run-time error:', detail)
But this is printing error message in output tab only.
Please help me with the way to perform this.
[265659-image.png][1]
Sign in to answer