tools/sign.js: Print errors to console.

This commit is contained in:
ccd0 2017-02-11 19:30:03 -08:00
parent 273aa7f7d0
commit bf97bf205d

View File

@ -9,6 +9,7 @@ var archive = fs.readFileSync(`testbuilds/${pkg.name}${channel}.crx.zip`);
var extension = new crx({privateKey, loaded: true});
extension.pack(archive).then((data) =>
fs.writeFileSync(`testbuilds/${pkg.name}${channel}.crx`, data)
).catch(function() {
).catch(function(err) {
console.error(err);
process.exit(1);
});