-
Notifications
You must be signed in to change notification settings - Fork 1
[Bug] No useful error message is presented when Docker registry doesn't exist #1
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
Description
When running bob push and the image has an inexistent registry Docker retries it several times:
docker push inexistent-repo/image:tag
The push refers to repository [inexistent-repo/image:tag]
64ed87b762b2: Retrying in 1 second
2c0fb72ca8a6: Retrying in 1 second
2177fb7bef02: Retrying in 1 second
3759e3bc07e3: Retrying in 1 second
81b311630260: Retrying in 1 second
c85c09c7fd7c: Waiting
27f852d51452: Waiting
bb6f8ace7cb4: Waiting
36ffdceb4c77: Waiting
EOF
As you can see, at the end it just prints an EOF. Since our build considers only what's returned in the last line, we should improve the log when this happens.
Maybe something like
if lastLine == "EOF" {
log(better message)
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest