lib/timespan.rb in timespan-0.2.5 vs lib/timespan.rb in timespan-0.2.6

- old
+ new

@@ -109,9 +109,11 @@ self.end_time = to if to default_from_now! unless start_time || end_time calculate_miss! + rescue ArgumentError => e + raise TimeParseError, e.message rescue Exception => e calculate_miss! validate! end \ No newline at end of file