File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -93,29 +93,28 @@ impl HttpExecutor for WasiHttpExecutor<'_> {
9393 HandlerType :: Wagi ( _) => unreachable ! ( "should have used WagiExecutor instead" ) ,
9494 } ;
9595
96- let span = tracing:: debug_span!( "execute_wasi" ) ;
9796 let handle = task:: spawn (
9897 async move {
9998 let result = match handler {
10099 Handler :: Latest ( handler) => {
101100 handler
102101 . wasi_http_incoming_handler ( )
103102 . call_handle ( & mut store, request, response)
104- . instrument ( span )
103+ . in_current_span ( )
105104 . await
106105 }
107106 Handler :: Handler2023_10_18 ( handler) => {
108107 handler
109108 . wasi_http0_2_0_rc_2023_10_18_incoming_handler ( )
110109 . call_handle ( & mut store, request, response)
111- . instrument ( span )
110+ . in_current_span ( )
112111 . await
113112 }
114113 Handler :: Handler2023_11_10 ( handler) => {
115114 handler
116115 . wasi_http0_2_0_rc_2023_11_10_incoming_handler ( )
117116 . call_handle ( & mut store, request, response)
118- . instrument ( span )
117+ . in_current_span ( )
119118 . await
120119 }
121120 } ;
You can’t perform that action at this time.
0 commit comments