fix: improve server stats / rbac

This commit is contained in:
LukeGus
2025-12-21 03:09:55 -06:00
parent bfda81f9c2
commit 28729e3de2
14 changed files with 494 additions and 131 deletions

View File

@@ -1966,6 +1966,7 @@ export async function getServerStatusById(id: number): Promise<ServerStatus> {
return response.data;
} catch (error) {
handleApiError(error, "fetch server status");
throw error; // Explicit throw to propagate error
}
}
@@ -1975,6 +1976,7 @@ export async function getServerMetricsById(id: number): Promise<ServerMetrics> {
return response.data;
} catch (error) {
handleApiError(error, "fetch server metrics");
throw error; // Explicit throw to propagate error
}
}