mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: exception which was meant to be ignored and logged was failing
Thanks to Darix!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user