Log error message from parser for items in storage
This commit is contained in:
parent
a1ebc52b39
commit
396b9ffecb
@ -284,8 +284,8 @@ class Item:
|
|||||||
try:
|
try:
|
||||||
self._item = vobject.readOne(self._text)
|
self._item = vobject.readOne(self._text)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise RuntimeError("Failed to parse item %r in %r" %
|
raise RuntimeError("Failed to parse item %r in %r: %s" %
|
||||||
(self.href, self.collection.path)) from e
|
(self.href, self.collection.path, e)) from e
|
||||||
return self._item
|
return self._item
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user