mirror of
https://github.com/inspec/inspec
synced 2024-11-22 12:43:07 +00:00
Updated commented for plugin install error
Signed-off-by: Nik08 <nikita.mathur@progress.com>
This commit is contained in:
parent
455f1a0d6f
commit
d1cb89fab1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue