gwl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in a process should interrupt the workflow


From: Ricardo Wurmus
Subject: Re: Error in a process should interrupt the workflow
Date: Fri, 03 Jun 2022 19:24:59 +0200
User-agent: mu4e 1.6.10; emacs 28.1

Olivier Dion via <gwl-devel@gnu.org> writes:

> Given the following example:
>
> process error
>   # {
>     exit 1
>   }
>
> process should-not-run
>   # {
>      >&2 echo "You should not see this message!"
>   }
>
> workflow wf
>   processes
>     graph
>       should-not-run -> error
>
>
> I'm expecting the second process to not run because the first has failed
> with an exit value other than zero.
>
> Is there a way to configure the workflow to fail on any error?

Currently, there is not.  We only care about inputs and outputs.

-- 
Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]