1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Add to error message

This commit is contained in:
Raymond Hill 2023-12-26 11:32:08 -05:00
parent 35bf15cf96
commit 00fb5f18b2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -191,7 +191,7 @@ async function fetchPatchDetailsFromCDNs(assetDetails) {
const patchURL = resolveURL(patchPath, cdnURL);
if ( patchURL === undefined ) { continue; }
const response = await fetch(patchURL).catch(reason => {
console.error(reason);
console.error(reason, patchURL);
});
if ( response === undefined ) { continue; }
if ( response.status === 404 ) { break; }