lib/conjur/cli.rb in conjur-cli-4.21.1 vs lib/conjur/cli.rb in conjur-cli-4.22.0

- old
+ new

@@ -73,11 +73,13 @@ plugins.each do |plugin| begin filename = "conjur-asset-#{plugin}" require filename - rescue LoadError - warn "Could not load plugin '#{plugin}' specified in your config file.\nMake sure you have the #{filename} gem installed." + rescue LoadError => err + warn "WARNING: #{err.message}\n" \ + "Could not load plugin '#{plugin}' specified in your config file.\n"\ + "Make sure you have the #{filename} gem installed." end end end # This makes our generate-commands script a little bit cleaner. We can call this from that script