mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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);
|
await notifications.push(notifObj, followers);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err) {
|
winston.error(err);
|
||||||
return winston.error(err);
|
|
||||||
}
|
|
||||||
throw err;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user