diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2015-04-23 15:32:53 +0900 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-06 15:09:44 -0700 |
commit | 3c5f6827558a50581395df22509ad7ad728a1625 (patch) | |
tree | 0a474c9c10c3ef14c72c95b547f1cc233ac073a1 /lib/chef/log.rb | |
parent | 9a0f9d284424f9d38edc3df184271492dd8f2472 (diff) | |
download | chef-3c5f6827558a50581395df22509ad7ad728a1625.tar.gz |
fallback to info
Diffstat (limited to 'lib/chef/log.rb')
-rw-r--r-- | lib/chef/log.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/log.rb b/lib/chef/log.rb index d11e16b1f3..0835a9f2c5 100644 --- a/lib/chef/log.rb +++ b/lib/chef/log.rb @@ -42,6 +42,8 @@ class Chef def write(message) data = message.match(/(\[.+?\]) ([\w]+):(.*)$/) self.send(data[2].downcase.to_sym, data[3]) + rescue NoMethodError + self.send(:info, message) end def close |