mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(promise): make sure every promise is handled
This commit is contained in:
@@ -76,7 +76,8 @@ function sendNotification (user, details = {}) {
|
||||
logger.error('APN transmissionError', failure.status, notification, failure.device);
|
||||
}
|
||||
});
|
||||
});
|
||||
})
|
||||
.catch(err => logger.error(err, 'APN error'));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user