Skip to content

Commit 5ae072b

Browse files
one more log
1 parent 1fa6932 commit 5ae072b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/components/Chat/error.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import { t } from 'i18next'
2+
import { console } from 'inspector'
23
import { enqueueSnackbar } from 'notistack'
34

45
/**
56
* Handle error messages related to completion stream creation
67
*/
78
export const handleCompletionStreamError = (err: any, file: string) => {
9+
console.log('Error in completion stream: ', err)
810
if (err?.name === 'AbortError' || !err) return
911

1012
const error = err?.response?.data || err.message

0 commit comments

Comments
 (0)