Catch more exceptions when recording progress
Change-Id: Idcca56ab2f42dcadb5b3a2194bda16c8dc451f71
This commit is contained in:
parent
74356fc3cc
commit
7abc6ed4fa
|
@ -1429,7 +1429,7 @@ class ContainerSharder(ContainerReplicator):
|
||||||
'Unhandled exception while processing %s: %s', path, error)
|
'Unhandled exception while processing %s: %s', path, error)
|
||||||
try:
|
try:
|
||||||
self._record_sharding_progress(broker, node, error)
|
self._record_sharding_progress(broker, node, error)
|
||||||
except Exception as error:
|
except (Exception, Timeout) as error:
|
||||||
self.logger.exception(
|
self.logger.exception(
|
||||||
'Unhandled exception while dumping progress for %s: %s',
|
'Unhandled exception while dumping progress for %s: %s',
|
||||||
path, error)
|
path, error)
|
||||||
|
|
Loading…
Reference in New Issue