init.rb in newrelic_rpm-8.2.0 vs init.rb in newrelic_rpm-8.3.0

- old
+ new

@@ -16,17 +16,15 @@ # After verison 2.0 of Rails we can access the configuration directly. # We need it to add dev mode routes after initialization finished. begin - current_config = if defined?(config) config elsif defined?(Rails.configuration) Rails.configuration end NewRelic::Control.instance.init_plugin :config => current_config - rescue => e ::NewRelic::Agent.logger.error "Error initializing New Relic plugin. Agent is disabled.", e end