-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: improve error messaging on crash
Repro steps: - Run Docker Desktop - Run `docker run busybox tail -f /dev/null` - Run `pkill "Docker Desktop" Expected: An error message that indicates that Docker Desktop is shutting down. Actual: An error message that looks like this: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]> (cherry picked from commit 9900c7a) Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information
Showing
2 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters