mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-29 14:02:19 +00:00
fix(conversations): catch loadThreads rejection on mount to silence Sentry noise (#1513)
This commit is contained in:
@@ -288,6 +288,11 @@ const Conversations = ({ variant = 'page', composer = 'text' }: ConversationsPro
|
||||
} else {
|
||||
void handleCreateNewThread();
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
if (cancelled) return;
|
||||
const message = err instanceof Error ? err.message : String(err?.message ?? err);
|
||||
console.warn('[conversations] loadThreads failed on mount:', message);
|
||||
});
|
||||
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user