From a3fc2b2cdd0c8892dd825eac08bef056ec392b47 Mon Sep 17 00:00:00 2001 From: antelle Date: Wed, 30 Dec 2020 13:30:11 +0100 Subject: [PATCH] debugging windows code signing --- build/tasks/grunt-sign-exe.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/tasks/grunt-sign-exe.js b/build/tasks/grunt-sign-exe.js index 10ee2ae9..eb5cad8f 100644 --- a/build/tasks/grunt-sign-exe.js +++ b/build/tasks/grunt-sign-exe.js @@ -53,12 +53,16 @@ module.exports = function (grunt) { if (res.status) { grunt.warn( - `Verify error ${file}: exit code ${res.status}.\n${res.stdout.toString()}` + `Verify error ${file}: exit code ${ + res.status + }.\nSTDOUT:\n${res.stdout.toString()}\nSTDERR:\n${res.stderr.toString()}` ); } if (!res.stdout.includes('Successfully verified')) { - grunt.warn(`Verify error ${file}:\n${res.stdout.toString()}`); + grunt.warn( + `Verify error ${file}.\nSTDOUT:\n${res.stdout.toString()}\nSTDERR:\n${res.stderr.toString()}` + ); } if (!res.stdout.includes(opt.certHash)) {