Merge pull request #660 from escapade-mckv/prod-2a

fix(ui): remove unnecessary redundant toast messages
This commit is contained in:
Bobbie 2025-06-06 13:46:40 +05:30 committed by GitHub
commit 7fc724d7e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -1247,7 +1247,7 @@ export const listSandboxFiles = async (
return data.files || [];
} catch (error) {
console.error('Failed to list sandbox files:', error);
handleApiError(error, { operation: 'list files', resource: `directory ${path}` });
// handleApiError(error, { operation: 'list files', resource: `directory ${path}` });
throw error;
}
};
@ -1475,8 +1475,6 @@ export const checkApiHealth = async (): Promise<HealthCheckResponse> => {
return response.json();
} catch (error) {
console.error('API health check failed:', error);
handleApiError(error, { operation: 'check system health', resource: 'system status' });
throw error;
}
};
@ -1783,7 +1781,6 @@ export const checkBillingStatus = async (): Promise<BillingStatusResponse> => {
return response.json();
} catch (error) {
console.error('Failed to check billing status:', error);
handleApiError(error, { operation: 'check billing status', resource: 'account status' });
throw error;
}
};