Make plain fetch to not log dude to errors
This commit is contained in:
@@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user