Skip to content

proton: Catch JSON decode errors when trying to parse OpenVR paths#9895

Open
CommandMC wants to merge 1 commit into
ValveSoftware:proton_11.0from
CommandMC:fix-unconditional-json-parse
Open

proton: Catch JSON decode errors when trying to parse OpenVR paths#9895
CommandMC wants to merge 1 commit into
ValveSoftware:proton_11.0from
CommandMC:fix-unconditional-json-parse

Conversation

@CommandMC

Copy link
Copy Markdown

This situation can happen when openvrpaths.vrpath exists, but does not contain valid JSON. Instead of crashing, just act like the file does not exist.

This situation can happen when `openvrpaths.vrpath` exists, but does
not contain valid JSON. Instead of crashing, just act like the file
does not exist.
@CommandMC CommandMC force-pushed the fix-unconditional-json-parse branch from 2842389 to 5d10abd Compare June 21, 2026 20:50
@CommandMC CommandMC changed the title Catch JSON decode errors when trying to parse OpenVR paths proton: Catch JSON decode errors when trying to parse OpenVR paths Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant