Skip to content

Worker: don't report oauth errors to sentry #1429

@josephjclark

Description

@josephjclark

A very commonly occurring error in the worker is oauth token has expired triggered by fetch:credential

This is totally harmless and not our fault. It's a userland issue. Nothing to see here officer.

But also this issue should not be reported to sentry. We should just gracefully, intentionally crash the run. No alerts, no warnings, just log to the user the reason we've crashed.

We could just archive this on sentry but I don't think I can filter the message very well there. If a different error comes out of the same stack, I want to know about it.

sentry reference

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions