-
Notifications
You must be signed in to change notification settings - Fork 30
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
Migrate Sentry packages to v8 #6387
Conversation
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.109.0 to 8.34.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/8.34.0/CHANGELOG.md) - [Commits](getsentry/sentry-javascript@7.109.0...8.34.0) --- updated-dependencies: - dependency-name: "@sentry/browser" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
@@ -27,16 +26,13 @@ const handle = app.getRequestHandler() | |||
|
|||
app.prepare().then(() => { | |||
const server = express() | |||
|
|||
server.use(Sentry.Handlers.requestHandler()) |
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.
Sentry.Handlers isn't needed anymore
@@ -0,0 +1,9 @@ | |||
export async function register() { |
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.
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.
Noted sentry console logs and network activity as expected when testing https://fe-project-branch.preview.zooniverse.org/ 👍
disable: true, | ||
}, | ||
telemetry: false, | ||
authToken: process.env.SENTRY_AUTH_TOKEN |
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.
It looks like this was not required previously, but is with these changes, it looks like per https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#extend-your-nextjs-configuration .
Package
app-project
lib-classifier
Linked Issue and/or Talk Post
Includes #6372
Reverts #4387
Describe your changes
How to Review
Initialising Sentry (browser runtime):"https://[email protected]/1492691" "branch""7351b3d6df09d1c95e3704bfa5582150d6668341"
unless an adblocker affects it.Checklist
PR Creator - Please cater the checklist to fit the review needed for your code changes.
PR Reviewer - Use the checklist during your review. Each point should be checkmarked or discussed before PR approval.
General
yarn panic && yarn bootstrap
ordocker-compose up --build
and FEM works as expectedMaintenance