diff --git a/tasks/amo-upload.js b/tasks/amo-upload.js index a3498f1..34a1a0f 100644 --- a/tasks/amo-upload.js +++ b/tasks/amo-upload.js @@ -16,7 +16,7 @@ module.exports = (grunt) => { await deploy(data); grunt.log.ok('Uploaded successfully.'); } catch (err) { - grunt.log.error(err); + grunt.fail.fatal(err); } finally { done(); }