diff --git a/state-sync/storage-service/server/src/lib.rs b/state-sync/storage-service/server/src/lib.rs index 9f42ad53ac243..384c914506345 100644 --- a/state-sync/storage-service/server/src/lib.rs +++ b/state-sync/storage-service/server/src/lib.rs @@ -695,7 +695,6 @@ fn inclusive_range_len(start: u64, end: u64) -> Result { fn log_storage_response(storage_response: &Result) { match storage_response { Ok(storage_response) => { - let response = format!("{}", storage_response); // Use display formatting if matches!( storage_response, StorageServiceResponse::StorageServerSummary(_) @@ -705,15 +704,17 @@ fn log_storage_response(storage_response: &Result { - let storage_error = format!("{:?}", storage_error); // Use debug formatting + let storage_error = format!("{:?}", storage_error); debug!(LogSchema::new(LogEntry::SentStorageResponse).response(&storage_error)); } };