Skip to content

Commit 65620e0

Browse files
update console.log content
1 parent 43ef8dd commit 65620e0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/frontend/src/coral/modules/Chat.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ const Chat: React.FC<ChatProps> = ({
6262
}
6363
// const chatMessages = await chatService.getUserHistory(userId);
6464
// setMessages(chatMessages);
65-
} catch (error) {
65+
} catch {
6666
// Failed to load history — silent fail
67-
console.log("Failed to load chat history for user", userId);
67+
console.log("Failed to load chat history for user");
6868
}
6969
};
7070
loadHistory();
@@ -171,7 +171,7 @@ const Chat: React.FC<ChatProps> = ({
171171
setMessages([]);
172172
} catch {
173173
// clear history failed — silent
174-
console.log("Failed to clear chat history for user", userId);
174+
console.log("Failed to clear chat history for user");
175175
}
176176
};
177177

src/frontend/src/hooks/usePlanWebSocket.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ export function usePlanWebSocket({
271271
const connectWebSocket = async () => {
272272
try {
273273
await webSocketService.connect(planId);
274-
} catch (error) {
275-
console.log('WebSocket connection failed, continuing without real-time updates', error);
274+
} catch {
275+
console.log('WebSocket connection failed, continuing without real-time updates');
276276
}
277277
};
278278
connectWebSocket();

0 commit comments

Comments
 (0)