File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
crates/service/src/middleware Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ impl StatusCodeExt for AttestationError {
9898
9999impl IntoResponse for AttestationError {
100100 fn into_response ( self ) -> Response {
101- tracing:: error!( error=self , "Attestation error" ) ;
101+ tracing:: error!( error=% self , "Attestation error" ) ;
102102 let status_code = self . status_code ( ) ;
103103 ErrorResponse :: new ( self ) . into_response ( status_code)
104104 }
Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ pub async fn signer_middleware(
3232 request. extensions_mut ( ) . insert ( signer. clone ( ) ) ;
3333 } else {
3434 // Just log this case which is silently passed through next middleware
35- tracing:: warn!(
36- allocation_id,
35+ tracing:: warn!( warn=%allocation_id,
3736 "No attestation signer found for allocation" ,
3837 ) ;
3938 }
You can’t perform that action at this time.
0 commit comments