lib/embulk/java/time_helper.rb in embulk-0.6.11 vs lib/embulk/java/time_helper.rb in embulk-0.6.12

- old
+ new

@@ -24,10 +24,10 @@ # Override def strptimeUsec(text) hash = Date._strptime(text, @format_string) unless hash - raise Java::TimestampParseException.new + raise Java::TimestampParseException.new("Failed to parse '" + text + "'") end if seconds = hash[:seconds] sec_fraction = hash[:sec_fraction] # Rational usec = sec_fraction * 1_000_000 if sec_fraction