Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 43fbcd0

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎envs/docker.go

Copy file name to clipboardExpand all lines: envs/docker.go
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.