Print timeout message better

This commit is contained in:
Igor Katson 2023-11-30 18:25:38 +00:00
parent 18c845d6f0
commit 80b153dbca
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -540,7 +540,7 @@ impl DhtState {
}
Err(_) => {
self.inflight_by_transaction_id.remove(&key);
bail!("timeout")
bail!("timeout ({RESPONSE_TIMEOUT:?})")
}
}
}