raylib: log prime status failure to fetch

This commit is contained in:
Shane Smiskol
2025-06-12 21:05:36 -07:00
parent 62b301ae76
commit f275d6d892
+1 -1
View File
@@ -56,7 +56,7 @@ class PrimeState:
prime_type = data.get("prime_type", 0)
self.set_type(PrimeType(prime_type) if is_paired else PrimeType.UNPAIRED)
except Exception as e:
print(f"Failed to fetch prime status: {e}")
cloudlog.error(f"Failed to fetch prime status: {e}")
def set_type(self, prime_type: PrimeType) -> None:
with self._lock: