Skip to content

Commit

Permalink
chore: make sure connection error is distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Jul 29, 2024
1 parent 1e4c48d commit cbfd9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (d *daemon) runCheck(query url.Values) (*output, error) {
connErr := testHost.Connect(dialCtx, *ai)
dialCancel()
if connErr != nil {
out.ConnectionError = connErr.Error()
out.ConnectionError = fmt.Sprintf("error dialing to peer: %s", connErr.Error())
connectionFailed = true
}
}
Expand Down

0 comments on commit cbfd9f8

Please sign in to comment.