diff --git a/index.js b/index.js index dffd480..5c73a62 100644 --- a/index.js +++ b/index.js @@ -74,6 +74,10 @@ Task.prototype.print = function(){ padding( '(' + timeTaken + 'ms) ' , 11) + this.name ); + + if( this.err ){ + console.log( this.err.stack ); + } };