lib/avromatic/model/attribute/union.rb in avromatic-0.32.0 vs lib/avromatic/model/attribute/union.rb in avromatic-0.33.0
- old
+ new
@@ -51,10 +51,10 @@
if coerced.is_a?(Avromatic::Model::Attributes)
coerced if coerced.valid?
elsif member_attribute.coerced?(coerced)
coerced
end
- rescue
+ rescue StandardError
nil
end
def member_attributes
@member_attributes ||= Array.new