Skip to content

Commit

Permalink
Disable error logging for failed MIME type checks in URL processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilson WeeSheng Khoo committed Oct 10, 2024
1 parent b044664 commit b11d084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crawlers/crawlDomain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const crawlDomain = async (
}

} catch (e) {
silentLogger.error(`Error checking the MIME type of ${url}: ${e.message}`);
// silentLogger.error(`Error checking the MIME type of ${url}: ${e.message}`);
// If an error occurs (e.g., a network issue), assume the URL is processible
httpHeadCache.set(url, true);
return true;
Expand Down

0 comments on commit b11d084

Please sign in to comment.