1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Reevaluated logging message levels

Fixes #394
This commit is contained in:
kkapsner 2019-09-05 01:07:05 +02:00
parent 14b4bd8ac6
commit 5a355284f3
5 changed files with 5 additions and 5 deletions

View file

@ -137,7 +137,7 @@
catch (e){
// we are unable to read the location due to SOP
// therefore we also can not intercept anything.
warning("NOT intercepting window due to SOP", window);
notice("NOT intercepting window due to SOP", window);
return false;
}
const wrappedWindow = wrappedTry;

View file

@ -111,7 +111,7 @@
logging.message("Initialized settings by dynamic content script.");
}
else {
logging.error("Dynamic content script was too late to provide settings.");
logging.warning("Dynamic content script was too late to provide settings.");
}
}
else {

View file

@ -139,7 +139,7 @@
promise.then(function(){
logging.verbose("New value stored for %s:", name, newValue);
}, function(err){
logging.warning("Unable to store new value for %s:", name, newValue, err);
logging.error("Unable to store new value for %s:", name, newValue, err);
});
return promise;
}

View file

@ -155,7 +155,7 @@
});
}
else {
logging.warning("Unable to migrate storage.");
logging.error("Unable to migrate storage.");
break;
}
}