Skip to content

Catch FileNotFoundError and print an error

Jeremy Cline requested to merge jcline/switcheroo-control:handle-no-file into master

Rather than letting the command crash and printing a stack trace, catch the error and exit. Failing to do so causes tools like ABRT to generate a crash report when it is, in fact, normal usage.

Merge request reports