improve config loading; remove debug

This commit is contained in:
Josh Harvey 2017-04-25 02:25:32 +03:00
parent 5f0b70ca42
commit 614c64646a
15 changed files with 198 additions and 193 deletions

View file

@ -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 => {