Properly log when we discard a sync response (#5969)

This commit is contained in:
Pierre Krieger authored and GitHub committed 2020-05-11 14:31:56 +02:00
1 parent ec4494ef3a
commit ed6c5bb190
1 file changed
+4
@@ -594,6 +594,10 @@ where
} else {
// We remove from `self.peers` requests we're no longer interested in,
// so this can legitimately happen.
log::trace!(
target: "sync",
"Response discarded because it concerns an obsolete request"
);
return;
}
} else {