Catch exception during cron execution and log to debug

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-12-19 20:10:32 +01:00
parent a34f13c464
commit 31cfc35a50
3 changed files with 23 additions and 4 deletions

View File

@@ -67,6 +67,10 @@ class NotificationHelper {
$this->currentUser = $userId;
}
/**
* @param $card
* @throws \OCP\AppFramework\Db\DoesNotExistException
*/
public function sendCardDuedate($card) {
// check if notification has already been sent
// ideally notifications should not be deleted once seen by the user so we can