diff --git a/index.js b/index.js index 6396a46..e35802d 100644 --- a/index.js +++ b/index.js @@ -275,7 +275,7 @@ nodeSlicer.render = function (options, callback) { shellCommand, function (error, stdout, stderr) { - if (stderr){ + if (stderr && !stdout){ return callback({ message: stderr }) }