From f9bb8dde3c4f44e8fa214f2f5f46a1315484101f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 23 May 2019 16:55:04 +0200 Subject: [PATCH] TEMP: output the error to STDERR --- lib/discourse_ip_info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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