You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the config_file_loading multiverse suite, the test test_warning_logged_when_config_file_erb_error fails because the file name and line number are no longer included in the error output. In addition, the error class has also changed.
Ruby 3.3.1:
** [NewRelic] FATAL : Failed ERB processing configuration file. This is typically caused by a Ruby error in <% %> templating blocks in your newrelic.yml file.
** [NewRelic] FATAL : (erb):4: syntax error, unexpected local variable or method, expecting '('
; _erbout.<<(( this is not ruby ).to_s); _erbout
Ruby 3.4.0-preview2:
[2024-10-08 16:38:39 -0700 C02F23LMMD6P (16577)] ERROR : Failed ERB processing configuration file. This is typically caused by a Ruby error in <% %> templating blocks in your newrelic.yml file.
[2024-10-08 16:38:39 -0700 C02F23LMMD6P (16577)] ERROR : NameError: undefined local variable or method 'ruby' for an instance of NewRelic::Agent::Configuration::YamlSource
In addition to fixing the test, we may want to take a closer look at our New Relic agent log error output and errors inbox behavior to see if there are unintended changes that might compromise the customer's experience.
The config_file_loading suite is currently disabled for Ruby 3.4.0-preview2. It will need to be manually re-enabled for testing.
The text was updated successfully, but these errors were encountered:
In the
config_file_loading
multiverse suite, the testtest_warning_logged_when_config_file_erb_error
fails because the file name and line number are no longer included in the error output. In addition, the error class has also changed.Ruby 3.3.1:
Ruby 3.4.0-preview2:
In addition to fixing the test, we may want to take a closer look at our New Relic agent log error output and errors inbox behavior to see if there are unintended changes that might compromise the customer's experience.
The
config_file_loading
suite is currently disabled for Ruby 3.4.0-preview2. It will need to be manually re-enabled for testing.The text was updated successfully, but these errors were encountered: