mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Add small note.
This commit is contained in:
@@ -56,6 +56,7 @@ StandardRenderer.prototype.error = function (err) {
|
||||
// Print trace if verbose or the error has no code
|
||||
if (this._config.verbose || !err.code) {
|
||||
// TODO: In some situations, err.stack is meaningless
|
||||
// TODO: Show stack if error is a node error
|
||||
// Investigate why and find alternatives
|
||||
str = '\nStack trace:\n'.yellow;
|
||||
str += err.stack;
|
||||
|
||||
Reference in New Issue
Block a user