Skip to content

Commit

Permalink
refactor: add email logger to debug smtp problem #232
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Jun 2, 2024
1 parent 7870c83 commit 3fbeb2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/services/core/user/mail.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class MailService extends TcService {

this.logger.info('sendMailSuccess:', info);
} catch (err) {
this.logger.error('sendMailFailed:', err);
throw new Error(t('邮件发送失败'));
}
}
Expand Down

0 comments on commit 3fbeb2a

Please sign in to comment.