mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Add to error message
This commit is contained in:
parent
35bf15cf96
commit
00fb5f18b2
@ -191,7 +191,7 @@ async function fetchPatchDetailsFromCDNs(assetDetails) {
|
|||||||
const patchURL = resolveURL(patchPath, cdnURL);
|
const patchURL = resolveURL(patchPath, cdnURL);
|
||||||
if ( patchURL === undefined ) { continue; }
|
if ( patchURL === undefined ) { continue; }
|
||||||
const response = await fetch(patchURL).catch(reason => {
|
const response = await fetch(patchURL).catch(reason => {
|
||||||
console.error(reason);
|
console.error(reason, patchURL);
|
||||||
});
|
});
|
||||||
if ( response === undefined ) { continue; }
|
if ( response === undefined ) { continue; }
|
||||||
if ( response.status === 404 ) { break; }
|
if ( response.status === 404 ) { break; }
|
||||||
|
Loading…
Reference in New Issue
Block a user