lib/chronicle/etl/transformers/image_file_transformer.rb in chronicle-etl-0.4.3 vs lib/chronicle/etl/transformers/image_file_transformer.rb in chronicle-etl-0.4.4

- old
+ new

@@ -41,19 +41,19 @@ end def id @id ||= begin id = build_with_strategy(field: :id, strategy: @config.id_strategy) - raise UntransformableRecordError.new("Could not build id", transformation: self) unless id + raise(UntransformableRecordError, "Could not build id") unless id id end end def timestamp @timestamp ||= begin ts = build_with_strategy(field: :timestamp, strategy: @config.timestamp_strategy) - raise UntransformableRecordError.new("Could not build timestamp", transformation: self) unless ts + raise(UntransformableRecordError, "Could not build timestamp") unless ts ts end end