aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/api/api0/serverlist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/api0/serverlist.go b/pkg/api/api0/serverlist.go
index 9c9d04e..90aebb5 100644
--- a/pkg/api/api0/serverlist.go
+++ b/pkg/api/api0/serverlist.go
@@ -451,7 +451,7 @@ func (s *ServerList) PutServerByAddr(x *Server) (string, bool, error) {
// error if there's an existing server with a matching auth addr
if esrv, exists := s.servers3[nsrv.AuthAddr()]; exists {
if s.isServerAlive(esrv, t) {
- return "", false, fmt.Errorf("%w %s", ErrServerListDuplicateAuthAddr, nsrv.AuthAddr())
+ return "", false, fmt.Errorf("%w %s (used for server %s)", ErrServerListDuplicateAuthAddr, nsrv.AuthAddr(), esrv.Addr)
}
}