From cbfd9f83585761757fce39771907cd0dfef7a453 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:53:09 +0200 Subject: [PATCH] chore: make sure connection error is distinct --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index 93c8540..4efd280 100644 --- a/daemon.go +++ b/daemon.go @@ -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 } }