diff options
author | Tim Smith <tsmith@chef.io> | 2021-08-02 10:10:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 10:10:40 -0700 |
commit | fdd6b98b529b75991232b353de17f41f059ffd67 (patch) | |
tree | 9dce0ea52054859ed04442d18ca8213aabb0d70d | |
parent | 0bc83e1c4f8f26e79507cfcbd960fe0e89afbcdb (diff) | |
parent | 12a9b3ce2fae8ca792b5c649034f0bdffc40f8be (diff) | |
download | chef-fdd6b98b529b75991232b353de17f41f059ffd67.tar.gz |
Merge pull request #11888 from chef/better_error
Chef -> Chef Infra Client in error message
-rw-r--r-- | lib/chef/formatters/error_mapper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/formatters/error_mapper.rb b/lib/chef/formatters/error_mapper.rb index b0d25149dd..0982a13a52 100644 --- a/lib/chef/formatters/error_mapper.rb +++ b/lib/chef/formatters/error_mapper.rb @@ -27,7 +27,7 @@ class Chef # Failed to register this client with the server. def self.registration_failed(node_name, exception, config) error_inspector = ErrorInspectors::RegistrationErrorInspector.new(node_name, exception, config) - headline = "Chef encountered an error attempting to create the client \"#{node_name}\"" + headline = "Chef Infra Client encountered an error attempting to create the client \"#{node_name}\"" description = ErrorDescription.new(headline) error_inspector.add_explanation(description) description @@ -35,7 +35,7 @@ class Chef def self.node_load_failed(node_name, exception, config) error_inspector = ErrorInspectors::NodeLoadErrorInspector.new(node_name, exception, config) - headline = "Chef encountered an error attempting to load the node data for \"#{node_name}\"" + headline = "Chef Infra Client encountered an error attempting to load the node data for \"#{node_name}\"" description = ErrorDescription.new(headline) error_inspector.add_explanation(description) description |