From 396b9ffecbcc3e1e02dc719d1abcc52ea71c3951 Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 2 Jun 2017 16:36:02 +0200 Subject: [PATCH] Log error message from parser for items in storage --- radicale/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/storage.py b/radicale/storage.py index 0e0f180..3c3258a 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -284,8 +284,8 @@ class Item: try: self._item = vobject.readOne(self._text) except Exception as e: - raise RuntimeError("Failed to parse item %r in %r" % - (self.href, self.collection.path)) from e + raise RuntimeError("Failed to parse item %r in %r: %s" % + (self.href, self.collection.path, e)) from e return self._item @property