mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: derpy catch
This commit is contained in:
@@ -189,10 +189,7 @@ UserNotifications.sendTopicNotificationToFollowers = async function (uid, topicD
|
||||
|
||||
await notifications.push(notifObj, followers);
|
||||
} catch (err) {
|
||||
if (err) {
|
||||
return winston.error(err);
|
||||
}
|
||||
throw err;
|
||||
winston.error(err);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user