Small patch needed in the discourse IP info class

This is basically broken since: 31ad7a60abd but I guess nobody ran into it so far.

diff --git a/lib/discourse_ip_info.rb b/lib/discourse_ip_info.rb
index 37b0fa2e74..5e7c6a861b 100644
--- a/lib/discourse_ip_info.rb
+++ b/lib/discourse_ip_info.rb
@@ -48,7 +48,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
4 Likes

Aha cc @sam another fix?

Sure! sorted per:

5 Likes