forked from platypush/platypush
Notify of entity scan timeouts on the console instead of creating tons of notifications
This commit is contained in:
parent
02abef71e3
commit
7db84acd34
1 changed files with 1 additions and 5 deletions
|
@ -188,11 +188,7 @@ export default {
|
||||||
delete self.entityTimeouts[id]
|
delete self.entityTimeouts[id]
|
||||||
|
|
||||||
self.errorEntities[id] = entity
|
self.errorEntities[id] = entity
|
||||||
self.notify({
|
console.warn(`Scan timeout for ${entity.name}`)
|
||||||
error: true,
|
|
||||||
title: entity.plugin,
|
|
||||||
text: `Scan timeout for ${entity.name}`,
|
|
||||||
})
|
|
||||||
}, this.entityScanTimeout * 1000)
|
}, this.entityScanTimeout * 1000)
|
||||||
|
|
||||||
obj[id] = true
|
obj[id] = true
|
||||||
|
|
Loading…
Reference in a new issue