From 059afef35d111640e29200bb8c53a3eb5ee7e005 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Tue, 29 Oct 2024 07:19:45 +0100 Subject: [PATCH] log content in case of multiple main components error --- radicale/item/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/item/filter.py b/radicale/item/filter.py index cb3e8cdb..61b7c1b4 100644 --- a/radicale/item/filter.py +++ b/radicale/item/filter.py @@ -279,7 +279,7 @@ def visit_time_ranges(vobject_item: vobject.base.Component, child_name: str, yield comp, True, [] else: if main is not None: - raise ValueError("Multiple main components") + raise ValueError("Multiple main components. Got comp: {}".format(comp)) main = comp if main is None and len(recurrences) == 1: main = rec_main