diff --git a/commands/render.js b/commands/render.js index 383bfaf..8259dc2 100644 --- a/commands/render.js +++ b/commands/render.js @@ -347,11 +347,7 @@ function command(argv) { done(outputFile); - }).catch(function(error) { - - di.errorHandler(error.message); - - }); + }).catch(di.errorHandler); }