Updated commented for plugin install error

Signed-off-by: Nik08 <nikita.mathur@progress.com>
This commit is contained in:
Nik08 2024-09-05 15:35:29 +05:30
parent 455f1a0d6f
commit d1cb89fab1

View file

@ -426,7 +426,7 @@ module InspecPlugins
"at https://github.com/inspec/inspec/issues/new") "at https://github.com/inspec/inspec/issues/new")
ui.exit Inspec::UI::EXIT_PLUGIN_ERROR ui.exit Inspec::UI::EXIT_PLUGIN_ERROR
rescue Inspec::Plugin::V2::InstallError => e rescue Inspec::Plugin::V2::InstallError => e
# This change is required for Ruby 3.3 upgrade # This change is compatible with various versions of Ruby, including Ruby 3.3
# Using Inspec::Log::level breaks with error `undefined method nil` in Ruby log library # Using Inspec::Log::level breaks with error `undefined method nil` in Ruby log library
Inspec::Log.debug e.backtrace Inspec::Log.debug e.backtrace