refactor: add email logger to debug smtp problem #232

pull/249/head
moonrailgun 1 year ago
parent 7870c835d7
commit 3fbeb2ac96

@ -67,6 +67,7 @@ class MailService extends TcService {
this.logger.info('sendMailSuccess:', info);
} catch (err) {
this.logger.error('sendMailFailed:', err);
throw new Error(t('邮件发送失败'));
}
}

Loading…
Cancel
Save