We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de1344d + c411b8a commit 4f75f17Copy full SHA for 4f75f17
redisinsight/ui/src/slices/panels/aiAssistant.ts
@@ -10,7 +10,7 @@ import {
10
getAxiosError,
11
isStatusSuccessful,
12
Maybe,
13
- parseCloudOAuthError
+ parseCustomError
14
} from 'uiSrc/utils'
15
import { getBaseUrl } from 'uiSrc/services/apiService'
16
import { getStreamedAnswer } from 'uiSrc/utils/api'
@@ -359,7 +359,7 @@ export function askExpertChatbotAction(
359
},
360
onError: (error: any) => {
361
if (error?.status === ApiStatusCode.Unauthorized) {
362
- const err = parseCloudOAuthError(error)
+ const err = parseCustomError(error)
363
dispatch(addErrorNotification(err))
364
dispatch(logoutUserAction())
365
} else {
0 commit comments