improved error handling

This commit is contained in:
2025-10-30 17:32:55 +01:00
parent b52fe07618
commit a75ba12897

View File

@@ -12,6 +12,10 @@ export const useVersionInfoQuery = () =>
const data = await response.json(); const data = await response.json();
return data; return data;
} else { } else {
console.error(
"Failed to fetch version info (versionInfo.query.ts): ",
response.statusText
);
return { return {
"backend-info": { "backend-info": {
version: "N/A", version: "N/A",