Skip to content

Commit 820d064

Browse files
committed
suppress errors during listing peers
1 parent 3a1744a commit 820d064

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/tinc-desktop/screen_network.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (sc *screenNetwork) listActivePeers(container *widget.Box) {
132132
peers, err := ntw.API().Peers(sc.Ctx)
133133
updateDialog.Hide()
134134
if err != nil {
135-
dialog.NewInformation("Failed", err.Error(), sc.Window).Show()
135+
log.Println("list active peers:", err)
136136
return
137137
}
138138

@@ -165,7 +165,7 @@ func (sc *screenNetwork) start() {
165165
if err != nil {
166166
startingDialog.Hide()
167167
log.Println("start", sc.Network.Name(), err)
168-
dialog.NewInformation("Failed", err.Error(), sc.Window).Show()
168+
dialog.NewInformation("Failed to start", err.Error(), sc.Window).Show()
169169
return
170170
}
171171
startingDialog.Hide()

0 commit comments

Comments
 (0)