Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc84a637

Browse files
authored
fix: stop logging error on query canceled (#12017)
Fixes flake seen here:https://github.com/coder/coder/actions/runs/7782340530/job/21218566449
1 parentb73e66e commitc84a637

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎coderd/workspaceagentsrpc.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,9 @@ func (m *agentConnectionMonitor) monitor(ctx context.Context) {
473473
err=m.updateConnectionTimes(ctx)
474474
iferr!=nil {
475475
reason=err.Error()
476-
m.logger.Error(ctx,"failed to update agent connection times",slog.Error(err))
476+
if!database.IsQueryCanceledError(err) {
477+
m.logger.Error(ctx,"failed to update agent connection times",slog.Error(err))
478+
}
477479
return
478480
}
479481
ifconnectionStatusChanged {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp