Skip to content

Background errors not serialized correctly when sent to UI #10090

@Gudahtt

Description

@Gudahtt

Describe the bug
When an error occurs in the background, it's not serialized correctly when sent to the UI. The error arrives as a plain object with its stack missing, so the resulting Sentry reports are difficult to debug.

Expected behavior
The error should still have a type of Error and should retain its stack when sent from the background to the UI.

Metadata

Metadata

Assignees

Labels

Sev3-lowLow severity; minimal to no impact upon usersstaleissues and PRs marked as staletype-bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions