Closed pgrange closed 10 months ago
Thanks! @sstone can you take a look at this?
Merging #2798 (6b76fa5) into master (be4ed3c) will increase coverage by
0.01%
. The diff coverage isn/a
.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Last command of eclair-cli is a curl piped to jq. In case of an error with the curl command (for instance, eclair service is not running) the error code is swallowed by the pipe which will return the exit code of the last command of the pipe (here, jq).
Setting
pipefail
ensures that the error code of curl is preserved in case of HTTP issue.This can come handy, for instance, to check that eclair is not ok: