Skip to content

Commit c24a5a6

Browse files
committed
chore: supress all paper processing errors
1 parent 7f31952 commit c24a5a6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/services/search/paper-search.service.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { GoogleScholar, IPaperMetadata } from '@rpidanny/google-scholar/dist'
2-
import { CaptchaError } from '@rpidanny/odysseus'
32
import { Quill } from '@rpidanny/quill'
43
import { join } from 'path'
54

@@ -101,11 +100,7 @@ export class PaperSearchService {
101100

102101
return entity
103102
} catch (error) {
104-
if (error instanceof CaptchaError) {
105-
this.logger?.debug(`Failed processing paper due to Captcha: ${paper.url}`)
106-
return
107-
}
108-
throw error
103+
this.logger?.debug(`Failed processing paper ${paper.url}: ${(error as Error).message}`)
109104
}
110105
}
111106

0 commit comments

Comments
 (0)