Skip to content

Commit 4c3d446

Browse files
authored
fix(codersdk): correctly log coordination error (#12176)
1 parent 2bf2f88 commit 4c3d446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codersdk/workspaceagents.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ func (tac *tailnetAPIConnector) coordinate(client proto.DRPCTailnetClient) {
541541
!xerrors.Is(err, io.EOF) &&
542542
!xerrors.Is(err, context.Canceled) &&
543543
!xerrors.Is(err, context.DeadlineExceeded) {
544-
tac.logger.Error(tac.ctx, "remote coordination error: %w", err)
544+
tac.logger.Error(tac.ctx, "remote coordination error", slog.Error(err))
545545
}
546546
}
547547
}

0 commit comments

Comments
 (0)