-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Next.js] Log a more useful warning than "Cannot initialize SDK with debug option using a non-debug bundle" when disableLogger: true
#15031
Comments
@a-hariti maybe something for you to look at! |
It might also be a nice addition to only strip debug messages in production builds. I can't think of a reason why you'd want to do this in dev mode. |
so what's the ideal DX in your opinion @timfish ? |
In an ideal world, users shouldn't need to think about this 🤔 I think it would be improved a lot if we:
If I'm being picky, I'm not a huge fan of Something like |
I had the same thought and I was the genius coming up with that name. |
Do we need to change anything here before v9? If we change |
Don't think so. Changing the option name will not make it into v9 in any case. |
Description
The great founder of Sentry was confused by this and I think with good reason. We should log something more descriptive.
The text was updated successfully, but these errors were encountered: