1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-28 19:40:54 +00:00

fix missing return value

This commit is contained in:
Peter Bieringer 2024-06-09 14:44:21 +02:00
parent e02a31af89
commit 59bd8e8330

View file

@ -104,7 +104,7 @@ class CollectionPartGet(CollectionPartCache, CollectionPartLock,
except Exception as e:
if self._skip_broken_item:
logger.warning("Skip broken item %r in %r: %s", href, self.path, e)
return
return None
else:
raise RuntimeError("Failed to load item %r in %r: %s" %
(href, self.path, e)) from e