diff --git a/src/Update/Program.cs b/src/Update/Program.cs index 7bfc2b00f..e10f88d31 100644 --- a/src/Update/Program.cs +++ b/src/Update/Program.cs @@ -608,8 +608,8 @@ static async Task signPEFile(string exePath, string signingOpts) (?=\s+) #positive look ahead for white space(s) " ).Replace(signingOpts, "/p ********"); - var msg = String.Format("Failed to sign, command invoked was: '{0} sign {1} {2}'", - exe, optsWithPasswordHidden, exePath); + var msg = String.Format("Failed to sign, command invoked was: '{0} sign {1} {2}' \n\nOutput from signtool.exe was:\n{3}", + exe, optsWithPasswordHidden, exePath, processResult.Item2); throw new Exception(msg); } else {