Error Handling
When a node fails, Blokkio by default stops the run. Each node can change that with the options on the Error Handling tab (or the Settings tab for steps with a dedicated editor). You can also set up a workflow-level error workflow that runs whenever an execution fails, chosen in Workflow settings (the gear icon in the editor header).
Options at a glance
| Option | Where | Effect |
|---|---|---|
| Retry on error before failure | Node | Re-runs the failed node with exponential backoff before treating it as failed. See Retries. |
| Enable error output port | Node | Adds an error port. A failure is routed down that branch instead of stopping the run. See Error output port. |
| Continue on error | Node | The failure is recorded and the run continues along the node's normal output. |
| Timeout | Node | Limits how long a node may run (Timeout (seconds); 15 minutes by default). See Timeouts and cancellation. |
| Error workflow | Workflow (gear icon → Workflow settings) | Starts another workflow with the failure details when an execution fails. See Error workflows. |
Options combine in this order:
- Retry runs first. Only when every retry has failed does the node count as failed.
- If the error port is enabled, the run continues down the error branch.
- Otherwise, if continue on error is enabled, the run continues along the normal output.
- Otherwise the run stops and the execution is marked Failed.
If both the error port and continue on error are enabled, the error port wins: only the error branch runs.
Default behaviour
With no options enabled, when a node fails:
- The execution stops: no further nodes are started, and nodes after the failed one are marked as skipped.
- The execution is marked Failed, and the node's error message is shown in the execution logs.
- The workflow's error workflow, if configured, is started.
Execution status when a failure is handled
If a node fails but the run continues (through an error port or continue on error), the execution finishes with status Warning instead of Success. The failed node is still shown as failed in the logs, so you can see what went wrong.
Error messages
Error messages shown in the app, the API and $status are cleaned up for users:
- No stack traces or internal exception type names. Full technical details stay in server logs.
- Long messages are cut to 1,000 characters.
- Secret values are masked as
••••.
For example, a node that times out shows The node timed out after 900 seconds., and a cancelled one shows
Execution was cancelled.
To fail a run on purpose with your own message, use the Throw Error node.
Choosing a strategy
| Scenario | Recommended option |
|---|---|
| Transient failures (rate limits, network blips, 5xx responses) | Retry on error |
| Expected failures that need their own handling (fallback, alert, cleanup) | Error output port |
| Non-critical steps where a failure is acceptable | Continue on error |
| Slow external calls that must not hang a run | A shorter node timeout |
| Get notified about any failed run of a workflow | Error workflow |
| Critical path that must fail loudly | Default (no options) |
Per-node scope
Retries, error ports, continue on error and timeouts are configured per node, so each step can have its own strategy. They also work for nodes inside loop bodies.