Skip to content

Commit

Permalink
Add trace-level dump of incorrect object data
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Dec 9, 2024
1 parent 7af513c commit 21f997d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/subspace-gateway/src/commands/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 21f997d

Please sign in to comment.