-
Notifications
You must be signed in to change notification settings - Fork 2k
Error message about host not existing is printed to stdout #962
Comments
+1, it's not just the host not existing, but any error message |
@tianon is there anything we can do here with the |
@bfirsh @dave-tucker @ehazlett This should now be fixed, and if things that need to "leak" their output from a subshell don't do so it's a bug. See: #1217 which cleans up the remaining thing we missed on this. This was a huge reason we did the logging refactor: To clean up the granularity of what we print to STDOUT and STDERR. Today on master I get: $ eval $(docker-machine env fdshkjlfsd)
Error: Host does not exist: fdshkjlfsd |
@ehazlett yeah, what Nathan said -- exit code for eval isn't used, but stderr is not captured at all so it's definitely the appropriate place for error messages |
@nathanleclaire @tianon perfect. closing as this looks correct. |
The error message about the host not existing is printed to stdout, so this fails silently:
The text was updated successfully, but these errors were encountered: