This commit is contained in:
lesion 2019-03-18 01:47:47 +01:00
parent 7111b4578b
commit 29b062ee03

View file

@ -53,7 +53,7 @@ async function loop () {
try { try {
await sendNotification(notification, event, e) await sendNotification(notification, event, e)
e.status = 'sent' e.status = 'sent'
e.save() return e.save()
} catch (e) { } catch (e) {
console.error(e) console.error(e)
e.status = 'error' e.status = 'error'