[california] More debugging when parsing DATE/DATE-TIME properties



commit d06be3fb84779616dd602c27e93da74555ea271e
Author: Jim Nelson <jim yorba org>
Date:   Tue Sep 30 16:05:52 2014 -0700

    More debugging when parsing DATE/DATE-TIME properties

 src/component/component-date-time.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/component/component-date-time.vala b/src/component/component-date-time.vala
index 0f557f7..d7a0d66 100644
--- a/src/component/component-date-time.vala
+++ b/src/component/component-date-time.vala
@@ -92,8 +92,8 @@ public class DateTime : BaseObject, Gee.Hashable<DateTime>, Gee.Comparable<DateT
             break;
             
             default:
-                throw new ComponentError.INVALID("%s not a DATE/DATE-TIME value: %s",
-                    prop.isa().to_string(), prop_value.isa().to_string());
+                throw new ComponentError.INVALID("%s not a DATE/DATE-TIME value: %s (%s)",
+                    prop.isa().to_string(), prop_value.isa().to_string(), prop.as_ical_string());
         }
         
         if (iCal.icaltime_is_null_time(dt) != 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]