Skip to content

Commit

Permalink
extra catch
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuijjer committed Dec 13, 2023
1 parent 9f99738 commit 7a5ce47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cloud/scrapers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ const scrapers = async (event: APIGatewayEvent, context: Context) => {
)

// close the browser
await closeBrowser({ logger })
try {
await closeBrowser({ logger })
} catch (error) {
logger.warn('failed closing browser', { error })
}

logger.info('done scraping for all scrapers')

Expand Down

0 comments on commit 7a5ce47

Please sign in to comment.