diff --git a/src/sign-with-signtool.ts b/src/sign-with-signtool.ts index 4b9bc42..2ed809b 100644 --- a/src/sign-with-signtool.ts +++ b/src/sign-with-signtool.ts @@ -87,7 +87,7 @@ async function execute(options: InternalSignToolOptions) { }); if (code !== 0) { - throw new Error(`Signtool exited with code ${code}. Stderr: ${stderr}. Stdout: ${stdout}`); + throw new Error(`Signtool exited with code ${code}.\nArgs: ${args.join(' ')}\nStderr: ${stderr}.\nStdout: ${stdout}`); } }