summaryrefslogtreecommitdiff
path: root/lib/chef/log.rb
diff options
context:
space:
mode:
authorsawanoboly <sawanoboriyu@higanworks.com>2015-04-23 15:32:53 +0900
committerLamont Granquist <lamont@scriptkiddie.org>2015-05-06 15:09:44 -0700
commit3c5f6827558a50581395df22509ad7ad728a1625 (patch)
tree0a474c9c10c3ef14c72c95b547f1cc233ac073a1 /lib/chef/log.rb
parent9a0f9d284424f9d38edc3df184271492dd8f2472 (diff)
downloadchef-3c5f6827558a50581395df22509ad7ad728a1625.tar.gz
fallback to info
Diffstat (limited to 'lib/chef/log.rb')
-rw-r--r--lib/chef/log.rb2
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