Closed nkubala closed 4 years ago
I think the idea when we first created this was that we would hide things from the user unless they went bad. Looking at it now that doesn't make a whole lot of sense since it's easy enough for the user to just view the log file after the fact if something goes bad, and we can just display the error message. I'll create a fix for this soon 👍🏼
running
skaffold build --mute-logs=build
, I expect to see very little, even if the build fails. however, when the build does fail, skaffold prints all of the logs that it just wrote to a file to stdout, as well as the error that it just surfaced:there's no reason we can't surface this error without dumping the entire logs that the user just explicitly asked to hide.