Skip to content

Commit 43fbcd0

Browse files
committed
Always log Docker connection error if --debug flag is set
1 parent ad64103 commit 43fbcd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

envs/docker.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ func (l *Local) RelationshipsFromDocker() Relationships {
9494
if err != nil {
9595
if docker.IsErrConnectionFailed(err) {
9696
terminal.Logger.Warn().Msg(err.Error())
97-
} else if l.Debug {
97+
}
98+
if l.Debug {
9899
fmt.Fprintf(os.Stderr, "ERROR: %s\n", err)
99100
}
100101
return nil

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy