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', () => {
213
213
exception : {
214
214
values : [
215
215
{
216
+ mechanism : {
217
+ type : 'auto.middleware.hono' ,
218
+ handled : false ,
219
+ } ,
216
220
type : 'Error' ,
217
221
value : 'response 500' ,
218
222
} ,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ function honoErrorHandler(options?: Partial<HonoHandlerOptions>): MiddlewareHand
114
114
if ( shouldHandleError ( context ) ) {
115
115
( context . res as { sentry ?: string } ) . sentry = captureException ( context . error , {
116
116
mechanism : {
117
- type : 'hono' ,
117
+ type : 'auto.middleware. hono' ,
118
118
handled : false ,
119
119
} ,
120
120
} ) ;
You can’t perform that action at this time.
0 commit comments