aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers/crawlerWorker.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-27 10:15:27 +0000
committerMohamed Bassem <me@mbassem.com>2024-03-27 11:56:13 +0000
commitff00ebca308f445785096611c47beed0c2c46c9c (patch)
tree510f4139ce89affc2ff04bb61731097b7cb64e37 /apps/workers/crawlerWorker.ts
parent75dbb95807069f4ed86392da8fb744d8c6ac016c (diff)
downloadkarakeep-ff00ebca308f445785096611c47beed0c2c46c9c.tar.zst
refactor: Validate env variables using zod
Diffstat (limited to 'apps/workers/crawlerWorker.ts')
-rw-r--r--apps/workers/crawlerWorker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workers/crawlerWorker.ts b/apps/workers/crawlerWorker.ts
index 282f5f43..3f7bff94 100644
--- a/apps/workers/crawlerWorker.ts
+++ b/apps/workers/crawlerWorker.ts
@@ -83,7 +83,7 @@ async function launchBrowser() {
}, 5000);
return;
}
- browser.on("disconnected", async () => {
+ browser.on("disconnected", async (): Promise<void> => {
if (isShuttingDown) {
logger.info(
"The puppeteer browser got disconnected. But we're shutting down so won't restart it.",