lib/honeybadger/config.rb in honeybadger-5.13.0 vs lib/honeybadger/config.rb in honeybadger-5.13.1
- old
+ new
@@ -275,10 +275,9 @@
return true unless self[:plugins].kind_of?(Array)
includes_token?(self[:plugins], name)
end
def insights_enabled?
- return false if defined?(::Rails.application) && ::Rails.const_defined?("Console")
!!self[:'insights.enabled']
end
def cluster_collection?(name)
return false unless insights_enabled?