mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05: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