Skip to content

A platform for community discussion. Free, open, simple.

TEMP: output the error to STDERR

Régis Hanolf9bb8dde3c4f
diff --git a/lib/discourse_ip_info.rb b/lib/discourse_ip_info.rb
index 2514390a606..5ae31129cf9 100644
--- a/lib/discourse_ip_info.rb
+++ b/lib/discourse_ip_info.rb
@@ -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