mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-04-24 22:32:16 +00:00
reload2
This commit is contained in:
parent
82890eab97
commit
5892e00faf
@ -86,7 +86,7 @@ httptools.p_httpfetch = async function(httpurl, init, {wantstream=false, retries
|
||||
}
|
||||
}
|
||||
// noinspection ExceptionCaughtLocallyJS
|
||||
throw new errors.TransportError(`Transport Error ${response.status}: ${response.statusText}`);
|
||||
throw new errors.TransportError(`Transport Error ${httpurl} ${response.status}: ${response.statusText}`);
|
||||
} catch (err) {
|
||||
// Error here is particularly unhelpful - if rejected during the COrs process it throws a TypeError
|
||||
debug("p_httpfetch failed: %s", err.message); // note TypeErrors are generated by CORS or the Chrome anti DDOS 'feature' should catch them here and comment
|
||||
|
Loading…
x
Reference in New Issue
Block a user