fix alert log message
This commit is contained in:
parent
c3d8168f49
commit
ab6c985f1a
1 changed files with 1 additions and 1 deletions
|
|
@ -732,7 +732,7 @@ function checkNotification () {
|
||||||
})
|
})
|
||||||
.then(results => {
|
.then(results => {
|
||||||
console.log('DEBUG25')
|
console.log('DEBUG25')
|
||||||
if (results.length > 0) logger.debug('Successfully sent alerts')
|
if (results && results.length > 0) logger.debug('Successfully sent alerts')
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
logger.error(err)
|
logger.error(err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue