Skip to content

Node.js based forum software built for the modern web

derp

barisusakli877cf1e15c43
diff --git a/src/user/notifications.js b/src/user/notifications.js
index c71238366e..b3b1055222 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -324,7 +324,7 @@ var async = require('async'),
var websockets = require('./../socket.io');
UserNotifications.getUnreadCount(uid, function(err, count) {
if (err) {
- return winston.warn('[User.pushNotifCount] Count not retrieve unread notifications count to push to uid ' + uid + '\'s client(s)');
+ return winston.error(err.stack);
}
websockets.in('uid_' + uid).emit('event:notifications.updateCount', count);