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