mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
In NetworkServer::SavePersistent, if the save is interrupted (by robot power loss, etc), the networktables.json file may be left in an unhandled state where the file consumed by NetworkServer::LoadPersistent is not found, but the backup file exists. In this case, we should attempt to recover the backup file to avoid losing all persistent data.