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
When I get an error from consul kv get the error is written to stdout, which means that the error text appears to be the data I asked for. The error should go to stderr instead so it not confused with data.
For example when wrapping consul with bash I not only have to check the exit code but I also need to replace the output value with some other value that is not invalid data. I also lose the error messages from logs because I am capturing stdout in a variable.
When I get an error from
consul kv get
the error is written to stdout, which means that the error text appears to be the data I asked for. The error should go to stderr instead so it not confused with data.For example when wrapping
consul
with bash I not only have to check the exit code but I also need to replace the output value with some other value that is not invalid data. I also lose the error messages from logs because I am capturing stdout in a variable./cc @evanphx
The text was updated successfully, but these errors were encountered: