Skip to content

Node.js based forum software built for the modern web

closes #6053

Barış Soner Uşaklıb6211fdc0446
diff --git a/src/user/digest.js b/src/user/digest.js
index 9a6a81cfcb..0ee46deba1 100644
--- a/src/user/digest.js
+++ b/src/user/digest.js
@@ -139,6 +139,10 @@ Digest.send = function (data, callback) {
notifications: notifications,
recent: data.topics,
interval: data.interval,
+ }, function (err) {
+ if (err) {
+ winston.error('[user/jobs] Could not send digest email', err);
+ }
});
next();
},