aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-11-21 22:22:00 +0000
committerMohamed Bassem <me@mbassem.com>2024-11-21 22:22:00 +0000
commit393d097c965c9bc223e9660b689df6a0312e9222 (patch)
tree16de3af2a5af603664a3203511011f44890a20ff /apps
parent5533632d441c95c991319e54910b4a745ecd5500 (diff)
downloadkarakeep-393d097c965c9bc223e9660b689df6a0312e9222.tar.zst
chore(workers): Add extra logging for browser connection errors
Diffstat (limited to 'apps')
-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 c8141d39..70fda993 100644
--- a/apps/workers/crawlerWorker.ts
+++ b/apps/workers/crawlerWorker.ts
@@ -115,7 +115,7 @@ async function launchBrowser() {
globalBrowser = await startBrowserInstance();
} catch (e) {
logger.error(
- "[Crawler] Failed to connect to the browser instance, will retry in 5 secs",
+ `[Crawler] Failed to connect to the browser instance, will retry in 5 secs: ${(e as Error).stack}`,
);
if (isShuttingDown) {
logger.info("[Crawler] We're shutting down so won't retry.");