component/component — pull request #321 by jabapyth (2013-05-06 18:46:14+00:00)
Title: Improve build's error reporting for error objects with no .message

fs.lstat raises an error with no .message attr - default to just outputting the whole error.

I ran into this while doing ``component build -c`` with a file referenced in the component.json that did not exist. Since fstat's error has not .message attribute, all I got was "error: undefined" ... took me a while to figure it out.