Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brinks: Sentry.setContent must be an object #231

Open
brettski opened this issue Jun 27, 2023 · 0 comments
Open

Brinks: Sentry.setContent must be an object #231

brettski opened this issue Jun 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brettski
Copy link
Contributor

error data is not being captured correctly at sentry as setContent() data must be an object

Sentry.setContext('metadata', metadata);
Sentry.setContext('errors', errorList);

E.g.:

Sentry.setContent('errors', { errorList });

Not
Sentry.setContent('errors, errorList);

Check all setContent() calls to ensure the are formatted correctly.

@brettski brettski self-assigned this Jun 27, 2023
@brettski brettski added the bug Something isn't working label Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant