fix: update usage of emailer.send to not catch (as errors are no longer thrown), email error throttler

This commit is contained in:
Julian Lam
2022-01-28 15:16:36 -05:00
parent b3f7b742c1
commit d4e5259fcf
7 changed files with 12 additions and 16 deletions

View File

@@ -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;
};