Is your feature request related to a problem? Please describe.
Currently if a team tries to build a path where the file doesn't exist, their entire code crashes, which if the paths are loaded during auto will cause a crash on match start (and a potential hang on WPILib 2024.3.1) and if done during init as recommended by the docs, a crash loop that if on the field will cause a bypass.
Describe the solution you'd like
Throw the FileNotFound exception as is, requiring teams to make a conscious decision regarding error handling, doing as it is currently poses, what appears to me to be, an unnecessary risk to teams. If this was done for a reason, please let me know because I can't think of one.
Is your feature request related to a problem? Please describe. Currently if a team tries to build a path where the file doesn't exist, their entire code crashes, which if the paths are loaded during auto will cause a crash on match start (and a potential hang on WPILib 2024.3.1) and if done during init as recommended by the docs, a crash loop that if on the field will cause a bypass.
Describe the solution you'd like Throw the
FileNotFound
exception as is, requiring teams to make a conscious decision regarding error handling, doing as it is currently poses, what appears to me to be, an unnecessary risk to teams. If this was done for a reason, please let me know because I can't think of one.