Logging improved (#703)

This commit is contained in:
nobody 2021-09-29 07:10:37 +02:00
parent e0f8719391
commit ca96c8ffca
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
};
}
if (!interceptor.blockMissing && interceptor._isBadResource(requestDetails.url)) {
console.warn(`[ LocalCDN ] Evil resource blocked: ${requestDetails.url}`);
if (interceptor._isBadResource(requestDetails.url)) {
console.log(`[ LocalCDN ] Evil resource blocked: ${requestDetails.url}`);
log.append(tab.url, requestDetails.url, '-', true);
return {
'cancel': true