@@ -16,8 +16,8 @@ use concepts::storage::{
1616 AppendRequest , BacktraceInfo , CreateRequest , DbConnection , DbErrorGeneric , DbErrorRead ,
1717 DbErrorReadWithTimeout , DbErrorWrite , DbPool , ExecutionRequest , HistoryEvent ,
1818 HistoryEventScheduleAt , JoinSetRequest , LogInfoAppendRow , LogLevel , LogStreamType ,
19- PendingState , PendingStateFinishedError ,
20- PendingStateFinishedResultKind , TimeoutOutcome , Version , http_client_trace:: HttpClientTrace ,
19+ PendingState , PendingStateFinishedError , PendingStateFinishedResultKind , TimeoutOutcome ,
20+ Version , http_client_trace:: HttpClientTrace ,
2121} ;
2222use concepts:: time:: { ClockFn , Sleep } ;
2323use concepts:: {
@@ -1112,17 +1112,16 @@ impl WebhookSupportHost for WebhookEndpointCtx {
11121112 & mut self ,
11131113 execution_id : types:: obelisk:: webhook:: webhook_support:: ExecutionId ,
11141114 _backtrace : Option < types:: obelisk:: types:: backtrace:: WasmBacktrace > ,
1115- ) -> Result <
1116- Option < types:: obelisk:: types:: execution:: ExecutionFailureKind > ,
1117- GetErrorTrappable ,
1118- > {
1115+ ) -> Result < Option < types:: obelisk:: types:: execution:: ExecutionFailureKind > , GetErrorTrappable >
1116+ {
11191117 use types:: obelisk:: webhook:: webhook_support:: GetError ;
11201118
11211119 let parsed_execution_id: concepts:: ExecutionId =
11221120 match concepts:: ExecutionId :: from_str ( & execution_id. id ) {
11231121 Ok ( id) => id,
11241122 Err ( err) => {
1125- let msg = format ! ( "get-execution-failure-kind: cannot parse execution ID: {err}" ) ;
1123+ let msg =
1124+ format ! ( "get-execution-failure-kind: cannot parse execution ID: {err}" ) ;
11261125 self . error ( msg. clone ( ) ) . await ;
11271126 return Err ( GetError :: ExecutionIdParsingError ( msg) . into ( ) ) ;
11281127 }
@@ -1165,9 +1164,10 @@ impl WebhookSupportHost for WebhookEndpointCtx {
11651164 async fn last_direct_call_id (
11661165 & mut self ,
11671166 ) -> wasmtime:: Result < Option < types:: obelisk:: webhook:: webhook_support:: ExecutionId > > {
1168- Ok ( self . last_direct_call_id . as_ref ( ) . map ( |id| {
1169- types:: obelisk:: webhook:: webhook_support:: ExecutionId { id : id. to_string ( ) }
1170- } ) )
1167+ Ok ( self
1168+ . last_direct_call_id
1169+ . as_ref ( )
1170+ . map ( |id| types:: obelisk:: webhook:: webhook_support:: ExecutionId { id : id. to_string ( ) } ) )
11711171 }
11721172
11731173 async fn get (
0 commit comments