lib/gloo/convert/converter.rb in gloo-3.4.1 vs lib/gloo/convert/converter.rb in gloo-3.5.0
- old
+ new
@@ -28,11 +28,10 @@
name = "Gloo::Convert::#{value.class}To#{to_type}"
clazz = name.split( '::' ).inject( Object ) { |o, c| o.const_get c }
o = clazz.new
return o.convert( value )
rescue => e
- @engine.log.error e.message
- @engine.heap.error.set_to e.message
+ @engine.log_exception e
end
return default
end