improve logging

This commit is contained in:
les
2021-04-28 12:44:26 +02:00
parent f7ba790398
commit 5f8bbd68c8
16 changed files with 63 additions and 39 deletions

View File

@@ -16,7 +16,7 @@ const notifier = {
sendNotification (notification, event) {
const promises = []
log.debug(`Send ${notification.type} notification ${notification.action}`)
log.info(`Send ${notification.type} notification ${notification.action}`)
let p
switch (notification.type) {
// case 'mail': TODO: locale?