1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

ignore default store from logging

This commit is contained in:
Hiroyasu Nishiyama 2018-07-19 14:12:01 +09:00
parent 31ee1be81e
commit 7612481570

View File

@ -35,12 +35,14 @@ var hasConfiguredStore = false;
var unknownStores = {};
function logUnknownStore(name) {
if (name) {
var count = unknownStores[name] || 0;
if (count == 0) {
log.warn(log._("context.unknown-store", {name: name}));
count++;
unknownStores[name] = count;
}
}
}
function logStores() {