Skip to content

Commit

Permalink
Improve searcher resilience
Browse files Browse the repository at this point in the history
  • Loading branch information
Agreon committed Nov 4, 2023
1 parent 613adb6 commit 741ab2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions searcher/src/search-service.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { EmptyResponseError } from '@game-watch/browser';
import { Game, InfoSource } from '@game-watch/database';
import {
MANUALLY_TRIGGERED_JOB_OPTIONS,
Expand Down Expand Up @@ -229,6 +230,7 @@ export class SearchService {
)
// This error occurs if Puppeteer timeouts.
|| error.name === 'TimeoutError'
|| error instanceof EmptyResponseError
) {
throw error;
}
Expand Down

0 comments on commit 741ab2d

Please sign in to comment.