mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
FIX: exception which was meant to be ignored and logged was failing
Thanks to Darix!
This commit is contained in:
parent
a02a7d66a9
commit
769501c63a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user