Make plain fetch to not log dude to errors

This commit is contained in:
kwaroran
2024-03-19 18:43:23 +09:00
parent c10200dc26
commit 784d9c8cd1

View File

@@ -1546,18 +1546,12 @@ export async function fetchNative(url:string, arg:{
} }
} }
else{ else{
const r = await fetch(url, { return await fetch(url, {
body: arg.body, body: arg.body,
headers: headers, headers: headers,
method: arg.method, method: arg.method,
signal: arg.signal signal: arg.signal
}) })
pipeFetchLog(fetchLogIndex, r.body)
return {
body: pipeFetchLog(fetchLogIndex, r.body),
headers: r.headers,
status: r.status
}
} }
} }