mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Rollbar может и не использоваться на проекте
This commit is contained in:
@@ -34,7 +34,7 @@ module Paperclip
|
||||
raise if model.exists?(id)
|
||||
rescue Errno::ENOENT => e
|
||||
raise if model.exists?(id)
|
||||
Rollbar.warn(e, file_name: e.message.split(' - ')[-1])
|
||||
Rollbar.warn(e, file_name: e.message.split(' - ')[-1]) if defined?(Rollbar)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user