diff --git a/SOPE/GDLContentStore/GCSFolder.m b/SOPE/GDLContentStore/GCSFolder.m index 84e86728d..56e0e236e 100644 --- a/SOPE/GDLContentStore/GCSFolder.m +++ b/SOPE/GDLContentStore/GCSFolder.m @@ -1149,10 +1149,12 @@ andAttribute: (EOAttribute *)_attribute startDate = [theComponent startDate]; t = [startDate timeIntervalSince1970]; if (startDate) { - if (t < (long long)INT_MAX && t > (long long)INT_MIN) + if (t < (long long)INT_MAX && t > (long long)INT_MIN) { [quickRow setObject:[NSNumber numberWithInt: t] forKey:@"c_startdate"]; - else + } else { + [self errorWithFormat:@"Unexpected value. Invalid start date for timestamp %f", t]; [quickRow setObject:[NSNumber numberWithInt: 0] forKey:@"c_startdate"]; + } } }