From 0e15c0048f66837a7ff6aca8cadce05b39d7f9e4 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 11 Dec 2018 08:14:35 -0600 Subject: [PATCH] proton: Don't crash on invalid VR config file --- proton | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proton b/proton index 6b26dcdd..46643d09 100755 --- a/proton +++ b/proton @@ -340,8 +340,8 @@ with prefix_lock: if vr_log is None: vr_log = j["log"][0] - except (ValueError, OSError): - pass + except (TypeError, ValueError, OSError): + log("Missing or invalid openvrpaths.vrpath file! " + str(sys.exc_info()[1])) makedirs(prefix + "/drive_c/users/steamuser/Local Settings/Application Data/openvr")