lib/psd/resources/xmp_metadata.rb in psd-3.1.4 vs lib/psd/resources/xmp_metadata.rb in psd-3.1.5
- old
+ new
@@ -16,10 +16,10 @@
@xmp = XMP.new(xml)
@xmp.namespaces.each do |a|
parse_tree(a.to_sym)
end
- rescue Java::OrgW3cDom::DOMException
+ rescue
PSD.logger.error "Unable to parse XMP Metadata"
ensure
@resource.data = self
end
\ No newline at end of file