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
OK interesting, the error is from the child process. The main process runs try, and continues.
I think this is an issue with shopt --set verbose_errexit
$ try { echo hi | grep z }; echo 'continue here'
try { echo hi | grep z }; echo 'continue here'
^~~~
[ interactive ]:18: errexit PID 27515: command.Simple failed with status 1
continue here
andychu
changed the title
[BUG] Failing pipeline is not captured by try
child process prints pipeline failure messages, even when wrapped by try (verbose_errexit)
Apr 8, 2024
The text was updated successfully, but these errors were encountered: