Skip to content

Improve error behaviour

Simon McVittie requested to merge wip/error-behaviour into master

Includes !24 (merged).

/cc @denittis


  • !24 (merged)

  • _start-container-in-background: Don't repeatedly start container

    If starting the container failed the first time we tried it, there's no point in trying again repeatedly. Unfortunately, when Steam runs setup commands, it ignores their exit status, so we can't make it give up early.

    Because the main game runs in a slightly different environment, it's possible that it might succeed even when setup commands fail, and it's also possible that launch options are making it more verbose or debuggable, so try harder to start that one.

  • _v2-entry-point: Don't terminate container if it never started

    This creates a lot of noise on stderr if we're in verbose mode, but is not actually useful. By silencing it, we can have the actual problem appear more prominently.

Merge request reports