We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
levels
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
Sentry Saas (sentry.io)
@sentry/react
6.19.5
No response
My init looks like this:
Sentry.init({ dsn: '...', ... integrations: [ new CaptureConsole({ levels: ['error'] }), ] })
It works
TypeScript error is raised:
TS2322: Type '"error"' is not assignable to type '"debug"'.
I believe this was caused by #4863
The text was updated successfully, but these errors were encountered:
Thanks for writing in! This is unintended and we will look into it asap.
In the meanwhile you can pin the SDK to version 6.19.4 which should not have this issue.
Sorry, something went wrong.
Or change to new CaptureConsole({ levels: ['error', 'warn'] as any }), :)
new CaptureConsole({ levels: ['error', 'warn'] as any }),
lforst
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/react
SDK Version
6.19.5
Framework Version
6.19.5
Link to Sentry event
No response
Steps to Reproduce
My init looks like this:
Expected Result
It works
Actual Result
TypeScript error is raised:
TS2322: Type '"error"' is not assignable to type '"debug"'.
I believe this was caused by #4863
The text was updated successfully, but these errors were encountered: