mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-13 18:50:53 +00:00
Log error message from parser for items in storage
This commit is contained in:
parent
a1ebc52b39
commit
396b9ffecb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue