beyond-all-reason / spring-launcher

Launcher for SpringRTS games
MIT License
2 stars 7 forks source link

Better handle spawn failures #46

Closed p2004a closed 9 months ago

p2004a commented 9 months ago

From user log:

[2024-02-18 10:17:47.744] [error] Unexpected error occurred.
[2024-02-18 10:17:47.745] [error] {
  createIssue: '[function] function () { [native code] }',
  error: 'Error: spawn UNKNOWN\n' +
    '    at ChildProcess.spawn (node:internal/child_process:414:11)\n' +
    '    at spawn (node:child_process:784:9)\n' +
    '    at Launcher.launchSpring (C:\\Users\\user\\AppData\\Local\\Programs\\Beyond-All-Reason\\resources\\app.asar\\src\\engine_launcher.js:170:18)\n' +
    '    at Launcher.launch (C:\\Users\\user\\AppData\\Local\\Programs\\Beyond-All-Reason\\resources\\app.asar\\src\\engine_launcher.js:137:9)\n' +
p2004a commented 9 months ago

We now have https://github.com/beyond-all-reason/spring-launcher/commit/729c4c1240da42d5f02a031eea12d9cb7b5f276a so meh