[california] Improved error message with DateTime parsing
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Improved error message with DateTime parsing
- Date: Thu, 17 Jul 2014 20:02:42 +0000 (UTC)
commit 2252d1bcb2356af1bcda53a9f2c4142b4e26f01a
Author: Jim Nelson <jim yorba org>
Date: Thu Jul 17 13:02:07 2014 -0700
Improved error message with DateTime parsing
This is to assist debugging bug #733319.
src/component/component-date-time.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/component/component-date-time.vala b/src/component/component-date-time.vala
index 1ad627c..0f557f7 100644
--- a/src/component/component-date-time.vala
+++ b/src/component/component-date-time.vala
@@ -92,7 +92,8 @@ public class DateTime : BaseObject, Gee.Hashable<DateTime>, Gee.Comparable<DateT
break;
default:
- throw new ComponentError.INVALID("Not a DATE/DATE-TIME value: %s",
prop_value.isa().to_string());
+ throw new ComponentError.INVALID("%s not a DATE/DATE-TIME value: %s",
+ prop.isa().to_string(), prop_value.isa().to_string());
}
if (iCal.icaltime_is_null_time(dt) != 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]