Commit c794f6df by Gaurish Sharma Committed by Geoff Harcourt

Be more explicit

parent 8253c89f
...@@ -46,7 +46,7 @@ namespace :paperclip do ...@@ -46,7 +46,7 @@ namespace :paperclip do
attachment = instance.send(name) attachment = instance.send(name)
begin begin
attachment.reprocess!(*styles) attachment.reprocess!(*styles)
rescue => e rescue StandardError => e
Paperclip::Task.log_error("exception while processing #{klass} ID #{instance.id}:") Paperclip::Task.log_error("exception while processing #{klass} ID #{instance.id}:")
Paperclip::Task.log_error(" " + e.message + "\n") Paperclip::Task.log_error(" " + e.message + "\n")
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment