-
-
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
Incorrect error message received when Sentry DSN not provided #12040
Labels
Comments
Ah, I guess we should not show this if the SDK is not enabled - will adjust this, thanks for raising! |
mydea
added a commit
that referenced
this issue
May 15, 2024
andreiborza
pushed a commit
that referenced
this issue
May 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.0.0
Framework Version
Express 4.17.17
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
[Sentry] Express is not instrumented. This is likely because you required/imported express before calling Sentry.init().
Sentry.setupExpressErrorHandler(app);
.Expected Result
I should only see:
Sentry Logger [warn]: No DSN provided, client will not send events.
message in the console, and not the:
[Sentry] Express is not instrumented. This is likely because you required/imported express before calling
Sentry.init().
message, if my app is set up correctly.
Actual Result
The text was updated successfully, but these errors were encountered: