fix(codersdk): correctly log coordination error (#12176)

This commit is contained in:
Colin Adler
2024-02-15 20:47:12 +00:00
committed by GitHub
parent 2bf2f88b09
commit 4c3d44658d
+1 -1
View File
@@ -541,7 +541,7 @@ func (tac *tailnetAPIConnector) coordinate(client proto.DRPCTailnetClient) {
!xerrors.Is(err, io.EOF) &&
!xerrors.Is(err, context.Canceled) &&
!xerrors.Is(err, context.DeadlineExceeded) {
tac.logger.Error(tac.ctx, "remote coordination error: %w", err)
tac.logger.Error(tac.ctx, "remote coordination error", slog.Error(err))
}
}
}