Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/app/core/orchestration/queue_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def connect(self):
await self.channel.declare_queue(queue_name, durable=True)
logger.info("Successfully connected to RabbitMQ")
except Exception as e:
logger.error(f"Failed to connect to RabbitMQ: {e}")
logger.error(f"Failed to connect to RabbitMQ: {e}", exc_info=True)
raise

async def start(self, num_workers: int = 3):
Expand Down
4 changes: 2 additions & 2 deletions backend/app/database/weaviate/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ async def get_weaviate_client() -> AsyncGenerator[weaviate.WeaviateClient, None]
await client.connect()
yield client
except Exception as e:
logger.error(f"Weaviate client error: {str(e)}")
logger.error(f"Weaviate client error: {str(e)}", exc_info=True)
raise
finally:
try:
await client.close()
except Exception as e:
logger.warning(f"Error closing Weaviate client: {str(e)}")
logger.warning(f"Error closing Weaviate client: {str(e)}", exc_info=True)
2 changes: 0 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function App() {
supabase.auth.getSession().then(({ data, error }) => {
if (error) {
toast.error('User Login Failed');
console.error('Error checking session:', error);
return;
}
setIsAuthenticated(!!data.session);
Expand Down Expand Up @@ -93,7 +92,6 @@ function App() {
const { error } = await supabase.auth.signOut();
if (error) {
toast.error('Logout failed');
console.error('Error during logout:', error);
return;
}
toast.success('Signed out!');
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/integration/BotIntegration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ const BotIntegration: React.FC<BotIntegrationProps> = ({
} else {
setIntegration(null);
}
} catch (error) {
console.error('Error loading integration status:', error);
} catch {
// Silently handle integration status loading errors
setIsConnected(false);
setIntegration(null);
}
};

Expand Down
5 changes: 2 additions & 3 deletions frontend/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ApiClient {
(error) => {
if (error.response?.status === 401) {
// Handle unauthorized - could redirect to login
console.error('Unauthorized request');
// Silently handle unauthorized requests
}
return Promise.reject(error);
}
Expand Down Expand Up @@ -165,8 +165,7 @@ class ApiClient {
try {
const response = await this.client.get('/v1/health');
return response.status === 200;
} catch (error) {
console.error('Backend health check failed:', error);
} catch {
return false;
}
}
Expand Down