From 769501c63a2bd97d68e6be537cae238647d3be7f Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Tue, 28 May 2019 11:45:12 +1000 Subject: [PATCH] FIX: exception which was meant to be ignored and logged was failing Thanks to Darix! --- 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 9daae979e63..75853c10f20 100644 --- a/lib/discourse_ip_info.rb +++ b/lib/discourse_ip_info.rb @@ -50,7 +50,7 @@ class DiscourseIpInfo Rails.logger.warn("MaxMindDB (#{filepath}) could not be found: #{e}") nil rescue => e - Discourse.warn_exception(e, "MaxMindDB (#{filepath}) could not be loaded.") + Discourse.warn_exception(e, message: "MaxMindDB (#{filepath}) could not be loaded.") nil end end