mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
mutable: don't tell server about corruption unless it's really CorruptShareError
This commit is contained in:
parent
f1752f54c0
commit
ca78e6b146
@ -591,7 +591,8 @@ class Retrieve:
|
||||
self._bad_shares.add((server, shnum, f))
|
||||
self._status.add_problem(server, f)
|
||||
self._last_failure = f
|
||||
self.notify_server_corruption(server, shnum, str(f.value))
|
||||
if f.check(CorruptShareError):
|
||||
self.notify_server_corruption(server, shnum, str(f.value))
|
||||
|
||||
|
||||
def _download_current_segment(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user