-
Notifications
You must be signed in to change notification settings - Fork 37
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
[@sentry/vite-plugin] Benign log messages are being printed as errors (which fail the build) #650
Comments
This seems to be an issue in 2.22.7. If I downgrade to 2.22.6, the problem goes away. |
Might be this change causing the issue: #624 This seems like a very bad change because the wrong semantics are being used. Other tools (like task runners and monorepo tools) look for messages to stderr as part of their normal operation, and fail tasks/builds when those messages are detected. |
Let's track this in getsentry/sentry-javascript#14879 |
I think it is very bad if tools rely on stderr to be empty. https://unix.stackexchange.com/a/331620
Stderr doesn't automatically mean error. It could be stuff like progress bars or debug messages. |
Environment
Vite: 5.4.10
@sentry/vite-plugin: 2.22.7
Steps to Reproduce
Expected Result
Success
Actual Result
In the build output, there are some log messages that sound benign, but they're being printed as errors, which is causing our build to fail:
The text was updated successfully, but these errors were encountered: