Skip to content

Commit

Permalink
[fix] image converter : logger undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
itowtips committed Apr 22, 2021
1 parent 9e24fc6 commit 32ef9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ss/image_converter.rb
Expand Up @@ -236,7 +236,7 @@ def close
def geo_location
extract_geo_location(@image) if @image
rescue => e
logger.warn("#{e.class} (#{e.message}):\n #{e.backtrace.join("\n ")}")
Rails.logger.warn("#{e.class} (#{e.message}):\n #{e.backtrace.join("\n ")}")
nil
end

Expand Down

0 comments on commit 32ef9b1

Please sign in to comment.