improve config loading; remove debug
This commit is contained in:
parent
5f0b70ca42
commit
614c64646a
15 changed files with 198 additions and 193 deletions
|
|
@ -54,7 +54,6 @@ function sendNoAlerts (plugins) {
|
|||
function checkNotification (plugins) {
|
||||
return checkStatus(plugins)
|
||||
.then(alertRec => {
|
||||
console.log('DEBUG445: %j', alertRec)
|
||||
const currentAlertFingerprint = buildAlertFingerprint(alertRec)
|
||||
if (!currentAlertFingerprint) {
|
||||
const inAlert = !!alertFingerprint
|
||||
|
|
@ -80,7 +79,6 @@ function checkNotification (plugins) {
|
|||
alertFingerprint = currentAlertFingerprint
|
||||
lastAlertTime = Date.now()
|
||||
|
||||
console.log('DEBUG446: %j', rec)
|
||||
return plugins.sendMessage(rec)
|
||||
})
|
||||
.then(results => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue