mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-26 20:08:38 +02:00
silence small error (#3182)
This commit is contained in:
@@ -22,7 +22,8 @@ export async function fetchAssistantData(): Promise<AssistantData> {
|
|||||||
// Fetch core assistants data first
|
// Fetch core assistants data first
|
||||||
const [assistants, assistantsFetchError] = await fetchAssistantsSS();
|
const [assistants, assistantsFetchError] = await fetchAssistantsSS();
|
||||||
if (assistantsFetchError) {
|
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;
|
return defaultState;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user