Commit eb35f948 by Seth Bro

thoughtbot/paperclip#957: Correct namespace of rescued Fog error

parent 3d556955
...@@ -142,7 +142,7 @@ module Paperclip ...@@ -142,7 +142,7 @@ module Paperclip
file = directory.files.get(path(style)) file = directory.files.get(path(style))
local_file.write(file.body) local_file.write(file.body)
local_file.close local_file.close
rescue Fog::Errors::Error => e rescue ::Fog::Errors::Error => e
warn("#{e} - cannot copy #{path(style)} to local file #{local_dest_path}") warn("#{e} - cannot copy #{path(style)} to local file #{local_dest_path}")
false false
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