Skip to content

Commit

Permalink
feat: remove timeout error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfan0 committed Sep 11, 2024
1 parent a409ac5 commit 73d5441
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/crawler/capture-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ export function captureError(fn) {

log('error:', message)

if (message.includes('timeout')) {
return {
code: CRAWLER_ERROR_CODE.TIMEOUT
}
}
// if (message.includes('timeout')) {
// return {
// code: CRAWLER_ERROR_CODE.TIMEOUT
// }
// }

if (message === ERROR_MESSAGE.INVALID_PROXY) {
return {
Expand Down

0 comments on commit 73d5441

Please sign in to comment.