diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index c379f2a..c52d10f 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -259,6 +259,8 @@ day_view_main_item_draw_day_event (EDayViewMainItem *main_item,
 		red = bg_color.red;
 		green = bg_color.green;
 		blue = bg_color.blue;
+	} else {
+		printf ("%s: Failed to parse color for the component, str:'%s'\n", __FUNCTION__, e_cal_model_get_color_for_component (e_calendar_view_get_model (E_CALENDAR_VIEW (day_view)), event->comp_data));
 	}
 
 	is_editing = day_view->editing_event_day == day && day_view->editing_event_num == event_num;
