Commit 1923f775 authored by Travis Fischer's avatar Travis Fischer Committed by GitHub

Merge pull request #249 from czzonet/main

parents d4067ca4 384db42d
......@@ -150,7 +150,13 @@ export async function browserPostEventStream(
messageId
})
}
try {
const checkJson = JSON.parse(data)
} catch (error) {
console.log('warning: parse error.')
return
}
try {
const convoResponseEvent: types.ConversationResponseEvent =
JSON.parse(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment