Replies: 1 comment 2 replies
-
Just should echo each command before running it, so you should see the command that failed right before the failure. Does that help? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got a recipe like this:
When this fails, the message I get is simply
error: Recipe
checkfailed on line 38 with exit code 1
which works, but doesn't tell me what command actually failed. So I always have to look it up and then figure out how it was run (because my memory is bad). I'd like to, instead, be able to print out the command that failed, or an error message telling me what to run to diagnose it.
What's the best way to output a better message? I can do it with some bash scripting but I'm wondering if there's a simpler way.
Beta Was this translation helpful? Give feedback.
All reactions