File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
dev-packages/node-integration-tests/suites/tracing/hono
packages/node/src/integrations/tracing/hono Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,10 @@ describe('hono tracing', () => {
213213 exception : {
214214 values : [
215215 {
216+ mechanism : {
217+ type : 'auto.middleware.hono' ,
218+ handled : false ,
219+ } ,
216220 type : 'Error' ,
217221 value : 'response 500' ,
218222 } ,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ function honoErrorHandler(options?: Partial<HonoHandlerOptions>): MiddlewareHand
114114 if ( shouldHandleError ( context ) ) {
115115 ( context . res as { sentry ?: string } ) . sentry = captureException ( context . error , {
116116 mechanism : {
117- type : 'hono' ,
117+ type : 'auto.middleware. hono' ,
118118 handled : false ,
119119 } ,
120120 } ) ;
You can’t perform that action at this time.
0 commit comments