mirror of https://github.com/kortix-ai/suna.git
fix(ui): remove unnecessary redundant toast messages
This commit is contained in:
parent
78b80bc2bc
commit
96ce252073
|
@ -1247,7 +1247,6 @@ 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}` });
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
@ -1475,8 +1474,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 +1780,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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue