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