Skip to content

Command errors not reported to Sentry #146

@betegon

Description

@betegon

Stricli catches exceptions thrown in command functions and doesn't re-throw them. This means errors never reach the withTelemetry catch block, so they're displayed to the user but never sent to Sentry.

The exceptionWhileRunningCommand callback is where Stricli gives us access to the exception before formatting - we need to call Sentry.captureException there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions