mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
helper: log SI in ciphertext-read-failed message
This commit is contained in:
parent
a719b5060f
commit
a0fa21e442
@ -365,7 +365,8 @@ class CHKCiphertextFetcher(AskUntilSuccessMixin):
|
||||
else:
|
||||
self._loop(fire_when_done)
|
||||
def _err(f):
|
||||
self.log("ciphertext read failed", failure=f, level=log.UNUSUAL)
|
||||
self.log(format="[%(si)s] ciphertext read failed",
|
||||
si=self._upload_id, failure=f, level=log.UNUSUAL)
|
||||
fire_when_done.errback(f)
|
||||
d.addCallbacks(_done, _err)
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user