Skip to content

Capture errors from background isolates #491

Description

@ioannisj

Extracted from PostHog/posthog#43012.

Problem

The error listener attaches only to the isolate that runs install() (the main one), so uncaught errors in user-spawned background isolates aren't captured. The config docstring also overclaims coverage of "any isolates spawned."

Scope

  • Capture uncaught errors from background isolates.
  • Fix the docstring to match actual behavior in the same change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions