You can manage errors in your automation by using the On Error node.
Procedure
- Click the Error tab at the top of the canvas to switch to the Error view.

The On Error node appears.

- In the search bar of the Automation information side panel, enter Dialog and drag and drop the Information Dialog activity on the On Error node.
- In the Input Parameters of the activity, select Create Custom Data in dialogParams.
- Enter Something went bad in the message field and save your automation.
- Save and test your automation.
The following message box appears:

- Click Ok. The testing session fails.

You can review the test data in the Test Console tab.
