Permalink
Browse files

Print knife errors when they are unkown

  • Loading branch information...
1 parent 09217ae commit 80e62886601abea9103f054cfd2f5a98ba91a57e @tobami committed Jun 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 littlechef/lib.py
View
@@ -167,6 +167,7 @@ def _generate_metadata(path, cookbook_path, name):
error_msg += "while executing knife to generate "
error_msg += "metadata.json for {0}".format(path)
print(error_msg)
+ print resp
if env.loglevel == 'debug':
print "\n".join(resp.split("\n")[:2])
except OSError:

0 comments on commit 80e6288

Please sign in to comment.