A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: fix long worker log lines when downloading base64 images
Mohamed Bassemf17ca243cd7f
diff --git a/apps/workers/workers/crawlerWorker.ts b/apps/workers/workers/crawlerWorker.tsindex deced504..bec10acf 100644--- a/apps/workers/workers/crawlerWorker.ts+++ b/apps/workers/workers/crawlerWorker.ts@@ -567,7 +567,9 @@ async function downloadAndStoreFile(abortSignal: AbortSignal,) {try {- logger.info(`[Crawler][${jobId}] Downloading ${fileType} from "${url}"`);+ logger.info(+ `[Crawler][${jobId}] Downloading ${fileType} from "${url.length > 100 ? url.slice(0, 100) + "..." : url}"`,+ );const response = await fetchWithProxy(url, {signal: abortSignal,});