diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts index fd0ce8da..d9d1e5d0 100644 --- a/frontend/src/lib/api.ts +++ b/frontend/src/lib/api.ts @@ -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 => { 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 => { return response.json(); } catch (error) { console.error('Failed to check billing status:', error); - handleApiError(error, { operation: 'check billing status', resource: 'account status' }); throw error; } };