small tweak to exception handling
This commit is contained in:
@@ -284,7 +284,7 @@ module.exports = function (fileSystem, standardOutput, configPaths) {
|
||||
if (exception && exception.message && exception.name) {
|
||||
this.exception = exception;
|
||||
} else if (exception) {
|
||||
this.exception = new Error(exception);
|
||||
this.exception = new Error(sys.inspect(exception));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user