Skip to content
Snippets Groups Projects
Unverified Commit 6ae6e6b7 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

cli: allow to quit on first exception

In long aql scripts sometimes we hit an exception early in the script
and the rest of the script continues executing which makes the output
really complicated as the errors keep chaining.

This commit introduces a 'set exit_on_failure' command which (if true)
stops the execution on first exception raised.

This is similar to "set -e" command in bash which stops script
execution on non-OK exit code.
parent bc1d7b20
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment