-
-
Notifications
You must be signed in to change notification settings - Fork 0
Update express app from v7 to v8.0.0-beta.3 #14
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
Conversation
"sentry.sample_rate": 1, | ||
"sentry.source": "route", | ||
"url": "/test-error" | ||
"url": "http://localhost:3030/test-error" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url
is now always a full URL, which is actually better than what we had before.
@@ -13,7 +13,7 @@ | |||
"sample_rate": "1", | |||
"sampled": "true", | |||
"trace_id": "[[ID2]]", | |||
"transaction": "GET /test-error-manual" | |||
"transaction": "test-span" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh, this is wrong! 😬 will look into it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hopefully fixed here: getsentry/sentry-javascript#11683
This bumps the express app to 8.0.0-beta.3.
The main changes necessary:
Sentry.init()
is called before anything else is imported/requiredSentry.setupExpressErrorHandler(app)