mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-27 17:59:52 +01:00
fix: update usage of emailer.send to not catch (as errors are no longer thrown), email error throttler
This commit is contained in:
@@ -59,7 +59,7 @@ UserReset.send = async function (email) {
|
||||
subject: '[[email:password-reset-requested]]',
|
||||
template: 'reset',
|
||||
uid: uid,
|
||||
}).catch(err => winston.error(`[emailer.send] ${err.stack}`));
|
||||
});
|
||||
|
||||
return code;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user