mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
TEMP: output the error to STDERR
This commit is contained in:
parent
8c8c925d1b
commit
f9bb8dde3c
|
@ -49,7 +49,7 @@ class DiscourseIpInfo
|
|||
end
|
||||
|
||||
rescue => e
|
||||
Rails.logger.warn("There was an error downloading MaxMindDB (#{name}): #{e}")
|
||||
STDERR.puts("There was an error downloading MaxMindDB (#{name}): #{e}")
|
||||
ensure
|
||||
FileUtils.rm_rf(dest) if dest
|
||||
FileUtils.rm(tar_gz_file) if tar_gz_file
|
||||
|
|
Loading…
Reference in New Issue
Block a user