Skip to content

Commit

Permalink
Support current Rails edge (#574)
Browse files Browse the repository at this point in the history
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
  • Loading branch information
casperisfine and byroot authored Apr 2, 2021
1 parent 8c7fac8 commit 999d768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/new_relic/agent/configuration/default_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def self.framework
when 4..6
:rails_notifications
else
::NewRelic::Agent.logger.error "Detected unsupported Rails version #{Rails::VERSION::STRING}"
::NewRelic::Agent.logger.warn "Detected untested Rails version #{Rails::VERSION::STRING}"
:rails_notifications
end
when defined?(::Sinatra) && defined?(::Sinatra::Base) then :sinatra
when defined?(::NewRelic::IA) then :external
Expand Down

0 comments on commit 999d768

Please sign in to comment.