From 21f997d1ddfe4d768931a2ee37c338b4a5511d4c Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 10 Dec 2024 08:15:10 +1000 Subject: [PATCH] Add trace-level dump of incorrect object data --- crates/subspace-gateway/src/commands/http/server.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/subspace-gateway/src/commands/http/server.rs b/crates/subspace-gateway/src/commands/http/server.rs index 1cb0b31651..6ebbd76f06 100644 --- a/crates/subspace-gateway/src/commands/http/server.rs +++ b/crates/subspace-gateway/src/commands/http/server.rs @@ -108,6 +108,7 @@ where ?hash, "Retrieved data doesn't match requested mapping hash" ); + trace!(data = %hex::encode(object), "Retrieved data"); return HttpResponse::ServiceUnavailable().finish(); }