lib/policy_manager/exporter/view.rb in gdpr_rails-0.2.0 vs lib/policy_manager/exporter/view.rb in gdpr_rails-0.2.1
- old
+ new
@@ -54,10 +54,10 @@
composed_name = [id, basename].compact.join("-")
path = "#{File.dirname(base_path)}/#{composed_name}"
self.save_image(remote_image, path)
tag(:img, {src: "./#{id}-#{File.basename(URI(remote_image).path)}" }.merge(opts))
rescue => e
- Bugsnag.notify(e)
+ Config.error_notifier_method(e)
content_tag(:p, "broken image")
end
end
def save_image(remote_image, path)
\ No newline at end of file