diff options
| author | Mohamed Bassem <me@mbassem.com> | 2024-11-21 22:22:00 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2024-11-21 22:22:00 +0000 |
| commit | 393d097c965c9bc223e9660b689df6a0312e9222 (patch) | |
| tree | 16de3af2a5af603664a3203511011f44890a20ff | |
| parent | 5533632d441c95c991319e54910b4a745ecd5500 (diff) | |
| download | karakeep-393d097c965c9bc223e9660b689df6a0312e9222.tar.zst | |
chore(workers): Add extra logging for browser connection errors
| -rw-r--r-- | apps/workers/crawlerWorker.ts | 2 |
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."); |
