chore: cleanup files (possible RC)
This commit is contained in:
@@ -1964,7 +1964,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
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1974,7 +1974,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
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user