You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way errors are handled by this tool make it near impossible to build other tools or scripts on top of it in a reliable manner.
As soon as an error is thrown, the script calling fauna is broken.
Here is an example of intended behaviour, but that fails as soon as an error is thrown.
Description
The way errors are handled by this tool make it near impossible to build other tools or scripts on top of it in a reliable manner.
As soon as an error is thrown, the script calling
fauna
is broken.Here is an example of intended behaviour, but that fails as soon as an error is thrown.
Steps to reproduce the error:
1- Copy the code below into /tmp/role.fql:
2- Run the code below (or any code that would trigger a remote error within
fauna
):Output:
Desired behaviour
exitCode
should clearly never be0
when the output is an error (which would then not letSuccess! No error code!
be shown).stderr
but instead goes instdout
.The text was updated successfully, but these errors were encountered: