Skip to content

Commit 4b11d69

Browse files
author
Dor Danai
committed
getting console.errors from original code (leaving it unchanged)
1 parent 3604a5f commit 4b11d69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pack.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ module.exports = {
108108
return resolve();
109109
} catch (err) {
110110
console.error('An error occured while restoring packages');
111-
console.error(err);
111+
console.error(err.stdout.toString('utf8'));
112+
console.error(err.toString('utf8'));
112113
process.exit();
113114
return reject(err);
114115
}

0 commit comments

Comments
 (0)