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:
parent
31ee1be81e
commit
7612481570
@ -35,11 +35,13 @@ var hasConfiguredStore = false;
|
|||||||
var unknownStores = {};
|
var unknownStores = {};
|
||||||
|
|
||||||
function logUnknownStore(name) {
|
function logUnknownStore(name) {
|
||||||
var count = unknownStores[name] || 0;
|
if (name) {
|
||||||
if (count == 0) {
|
var count = unknownStores[name] || 0;
|
||||||
log.warn(log._("context.unknown-store", {name: name}));
|
if (count == 0) {
|
||||||
count++;
|
log.warn(log._("context.unknown-store", {name: name}));
|
||||||
unknownStores[name] = count;
|
count++;
|
||||||
|
unknownStores[name] = count;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user