Skip to content

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jan 4, 2021

The updateTask uses the .drop() modifier, which means it cancels automatically if there is already a running instance. This cancellation causes a TaskCancelation error rejection on the perform() call, and we should ignore that kind of error instead of reporting it to Sentry.

Resolves #3157

r? @pichfl

The `updateTask` uses the `.drop()` modifier, which means it cancels automatically if there is already a running instance. This cancellation causes a `TaskCancelation` error rejection on the `perform()` call, and we should ignore that kind of error instead of reporting it to Sentry.
@Turbo87 Turbo87 added C-bug 🐞 Category: unintended, undesired behavior A-frontend 🐹 labels Jan 4, 2021
@pichfl
Copy link

pichfl commented Jan 4, 2021

Whoops

@bors r+

@bors
Copy link
Contributor

bors commented Jan 4, 2021

📌 Commit 779c34b has been approved by pichfl

@bors
Copy link
Contributor

bors commented Jan 4, 2021

⌛ Testing commit 779c34b with merge eac5020...

@bors
Copy link
Contributor

bors commented Jan 4, 2021

☀️ Test successful - checks-actions
Approved by: pichfl
Pushing eac5020 to master...

@bors bors merged commit eac5020 into rust-lang:master Jan 4, 2021
@Turbo87 Turbo87 deleted the progress branch January 4, 2021 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-frontend 🐹 C-bug 🐞 Category: unintended, undesired behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TaskCancelation: TaskInstance 'updateTask' was canceled because it belongs to a 'drop' Task that was already runni...

4 participants