1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01: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){ catch (e){
// we are unable to read the location due to SOP // we are unable to read the location due to SOP
// therefore we also can not intercept anything. // 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; return false;
} }
const wrappedWindow = wrappedTry; const wrappedWindow = wrappedTry;

View File

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

View File

@ -139,7 +139,7 @@
promise.then(function(){ promise.then(function(){
logging.verbose("New value stored for %s:", name, newValue); logging.verbose("New value stored for %s:", name, newValue);
}, function(err){ }, 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; return promise;
} }

View File

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

View File

@ -1,6 +1,6 @@
Version 0.5.14: Version 0.5.14:
changes: changes:
- - reevaluated logging message levels
new features: new features:
- -