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;
}
}

View File

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