We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09f87d1 commit 964032dCopy full SHA for 964032d
coderd/activitybump.go
@@ -82,7 +82,7 @@ func activityBumpWorkspace(ctx context.Context, log slog.Logger, db database.Sto
82
return nil
83
}, nil)
84
if err != nil {
85
- if !xerrors.Is(err, context.Canceled) {
+ if !xerrors.Is(err, context.Canceled) && !database.IsQueryCanceledError(err) {
86
// Bump will fail if the context is canceled, but this is ok.
87
log.Error(ctx, "bump failed", slog.Error(err),
88
slog.F("workspace_id", workspaceID),
0 commit comments