We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the section for "Setting the level" in the documentation the example is:
Sentry.configureScope((scope) => { scope.setLevel('warning'); });
This gives me this error:
Argument of type '"warning"' is not assignable to parameter of type 'Severity'.ts(2345)
If i instead do this: Sentry.configureScope((scope) => { scope.setLevel(Sentry.Severity.Warning); });
Sentry.configureScope((scope) => { scope.setLevel(Sentry.Severity.Warning); });
It works! 😄 (Thanks @gregwym for the solution).
Please update the documentation.
The text was updated successfully, but these errors were encountered:
@turbolego glad you found a workaround. Mind sending a pull-request for this?
Sorry, something went wrong.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Accepted, I will leave it alone ... forever!
Status: Accepted
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
No branches or pull requests
In the section for "Setting the level" in the documentation the example is:
Sentry.configureScope((scope) => { scope.setLevel('warning'); });
This gives me this error:
If i instead do this:
Sentry.configureScope((scope) => { scope.setLevel(Sentry.Severity.Warning); });
It works! 😄 (Thanks @gregwym for the solution).
Please update the documentation.
The text was updated successfully, but these errors were encountered: