Handle remote UUID mismatch properly (#1590)

Check for no response
Only throw if incorrect version, and not when missing

Resolves #1569
This commit is contained in:
James Ward
2024-11-19 13:28:07 +11:00
committed by GitHub
parent 417e1a65b6
commit 3a9d22c76b
2 changed files with 31 additions and 31 deletions

View File

@@ -305,6 +305,7 @@ void PhotonCamera::VerifyVersion() {
FRC_ReportError(frc::warn::Warning,
"Cannot find property message_uuid for PhotonCamera {}",
path);
return;
}
std::string remote_uuid{remote_uuid_json};