Add small note.

This commit is contained in:
André Cruz
2013-06-28 23:05:43 +01:00
parent 8798f467e1
commit 2132384736

View File

@@ -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;