mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-02 08:58:11 +02:00
silence small error (#3182)
This commit is contained in:
parent
194dcb593d
commit
3dac24542b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user