mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 12:33:17 +00:00
add more detailed logs to email sending
This commit is contained in:
@@ -47,6 +47,8 @@ export class UsersService {
|
||||
})
|
||||
} catch (e) {
|
||||
this.logger.error(e?.message || e)
|
||||
this.logger.error(e?.stack || e)
|
||||
this.logger.error(JSON.stringify(e))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +69,9 @@ export class UsersService {
|
||||
subject: 'Password recovery',
|
||||
})
|
||||
} catch (e) {
|
||||
this.logger.error(e)
|
||||
this.logger.error(e?.message || e)
|
||||
this.logger.error(e?.stack || e)
|
||||
this.logger.error(JSON.stringify(e))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user