File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,13 @@ addEventProcessor(event => {
616616The Sentry tRPC middleware got moved from ` Sentry.Handlers.trpcMiddleware() ` to ` Sentry.trpcMiddleware() ` . Functionally
617617they are the same:
618618
619+ #### Removal of ` Sentry.Handlers.requestHandler() ` , ` Sentry.Handlers.tracingHandler() ` and ` Sentry.Handlers.errorHandler() `
620+
621+ For Express and Connect you previously had to use ` Sentry.Handlers.requestHandler() ` ,
622+ ` Sentry.Handlers.tracingHandler() ` , and ` Sentry.Handlers.errorHandler() ` to add Sentry instrumentation to your app. In
623+ 8.x, you only need to use the framework specific error handler (e.g ` Sentry.setupExpressErrorHandler(app) ` ), you can
624+ remove all other handlers.
625+
619626``` js
620627// v7
621628import * as Sentry from ' @sentry/node' ;
You can’t perform that action at this time.
0 commit comments