Skip to content

Node.js based forum software built for the modern web

fix: derpy catch

Barış Soner Uşaklıce91288607f1
diff --git a/src/user/notifications.js b/src/user/notifications.js
index 69e3997c76..7ee213c43c 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -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);
}
};