[california] Additional debugging when unable to add/update iCal event
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Additional debugging when unable to add/update iCal event
- Date: Wed, 24 Sep 2014 23:52:44 +0000 (UTC)
commit 9b7b58ba8703d0374d952e8135c1e507a5dadfbe
Author: Jim Nelson <jim yorba org>
Date: Wed Sep 24 16:52:13 2014 -0700
Additional debugging when unable to add/update iCal event
This is for bug #733319.
.../backing-eds-calendar-source-subscription.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/backing/eds/backing-eds-calendar-source-subscription.vala
b/src/backing/eds/backing-eds-calendar-source-subscription.vala
index 14ab0f3..eefa186 100644
--- a/src/backing/eds/backing-eds-calendar-source-subscription.vala
+++ b/src/backing/eds/backing-eds-calendar-source-subscription.vala
@@ -187,7 +187,7 @@ internal class EdsCalendarSourceSubscription : CalendarSourceSubscription {
notifier(added_event);
}
} catch (Error err) {
- debug("Unable to process added event: %s", err.message);
+ debug("Unable to process added event: %s\n%s", err.message, ical_component.as_ical_string());
}
return added_event;
@@ -268,7 +268,8 @@ internal class EdsCalendarSourceSubscription : CalendarSourceSubscription {
try {
modified_event.full_update(ical_component, null);
} catch (Error err) {
- debug("Unable to update event %s: %s", modified_event.to_string(), err.message);
+ debug("Unable to update event %s: %s\n%s", modified_event.to_string(), err.message,
+ ical_component.as_ical_string());
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]