diff --git a/lib/new_relic/local_environment.rb b/lib/new_relic/local_environment.rb index bd195ac073..b01b0ed2a6 100644 --- a/lib/new_relic/local_environment.rb +++ b/lib/new_relic/local_environment.rb @@ -141,8 +141,7 @@ def check_for_puma def check_for_falcon if defined?(::Falcon::Server) && NewRelic::LanguageSupport.object_space_usable? - v = find_class_in_object_space(::Falcon::Server) - @discovered_dispatcher = :falcon if v + @discovered_dispatcher = :falcon if find_class_in_object_space(::Falcon::Server) end end