Skip to content

missing error.code on uncaught exceptions #3005

@kkmuffme

Description

@kkmuffme

Important Details

How are you running Sentry?
sentry.io

Description

Not sure if this is a bug, an oversight or a feature request, but:
when sentry catches uncaught exceptions (e.g. onunhandledrejection), it reports only the error.message
This error message often times is pretty useless, especially when it comes to browser specific error messages (e.g. localStorage issues,...).

Possible Solution

Reporting the error.code, which is consistent between (most) browsers in addition to the message would be a lot more useful.

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