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:

https://github.com/discourse/discourse/commit/769501c63a2bd97d68e6be537cae238647d3be7f

5 Likes