bug fixes
This commit is contained in:
parent
f2a95e291a
commit
985e3811e3
14 changed files with 758 additions and 78 deletions
|
|
@ -40,8 +40,10 @@ function sendNoAlerts (plugins) {
|
|||
}
|
||||
|
||||
function checkNotification (plugins) {
|
||||
console.log('DEBUG444')
|
||||
return checkStatus(plugins)
|
||||
.then(alertRec => {
|
||||
console.log('DEBUG445: %j', alertRec)
|
||||
const currentAlertFingerprint = buildAlertFingerprint(alertRec)
|
||||
if (!currentAlertFingerprint) {
|
||||
const inAlert = !!alertFingerprint
|
||||
|
|
@ -67,6 +69,7 @@ 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