Browse Source

log signing errors

Eugene 4 months ago
parent
commit
dcc93fecc9
1 changed files with 6 additions and 0 deletions
  1. 6 0
      scripts/build-windows.mjs

+ 6 - 0
scripts/build-windows.mjs

@@ -45,6 +45,12 @@ builder({
                             console.log(out.toString())
                             console.log(out.toString())
                         } catch (e) {
                         } catch (e) {
                             console.error(`Failed to sign ${configuration.path}`)
                             console.error(`Failed to sign ${configuration.path}`)
+                            if (e.stdout) {
+                                console.error('stdout:', e.stdout.toString())
+                            }
+                            if (e.stderr) {
+                                console.error('stderr:', e.stderr.toString())
+                            }
                             console.error(e)
                             console.error(e)
                             process.exit(1)
                             process.exit(1)
                         }
                         }