lib/boxcars/boxcar.rb in boxcars-0.1.7 vs lib/boxcars/boxcar.rb in boxcars-0.1.8
- old
+ new
@@ -75,10 +75,10 @@
inputs = our_inputs(inputs)
output = nil
begin
output = call(inputs: inputs)
rescue StandardError => e
- error "Error in #{name} boxcar#call: #{e}", :red
+ Boxcars.error "Error in #{name} boxcar#call: #{e}", :red
raise e
end
validate_outputs(outputs: output.keys)
# memory&.save_convext(inputs: inputs, outputs: outputs)
return output if return_only_outputs