silence small error (#3182)

This commit is contained in:
pablodanswer 2024-11-20 14:46:38 -08:00 committed by GitHub
parent 194dcb593d
commit 3dac24542b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,8 @@ export async function fetchAssistantData(): Promise<AssistantData> {
// Fetch core assistants data first
const [assistants, assistantsFetchError] = await fetchAssistantsSS();
if (assistantsFetchError) {
console.error(`Failed to fetch assistants - ${assistantsFetchError}`);
// This is not a critical error and occurs when the user is not logged in
console.warn(`Failed to fetch assistants - ${assistantsFetchError}`);
return defaultState;
}