Skip to content

Commit

Permalink
fix: 修复超时展示不必要的提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Nov 25, 2023
1 parent 6ba23b7 commit 7dd049d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/bots/bing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,6 @@ export class BingWebBot {

const textDecoder = createChunkDecoder()
const timeout = () => {
try {
abortController.abort('timeout')
} catch (e) {}
if (params.options.retryCount??0 > 5) {
params.onEvent({
type: 'ERROR',
Expand Down

0 comments on commit 7dd049d

Please sign in to comment.