fix(scrapeURL): don't log fetch request

This commit is contained in:
Gergő Móricz 2024-11-12 17:53:44 +01:00
parent f42740a109
commit e95b6656fa

View File

@ -32,8 +32,6 @@ export async function robustFetch<Schema extends z.Schema<any>, Output = z.infer
}: RobustFetchParams<Schema>): Promise<Output> { }: RobustFetchParams<Schema>): Promise<Output> {
const params = { url, logger, method, body, headers, schema, ignoreResponse, ignoreFailure, tryCount }; const params = { url, logger, method, body, headers, schema, ignoreResponse, ignoreFailure, tryCount };
logger.debug("Sending request...", { params, requestId });
let request: Response; let request: Response;
try { try {
request = await fetch(url, { request = await fetch(url, {