mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-17 20:59:27 +00:00
add more detailed logs to email sending
This commit is contained in:
@@ -47,6 +47,8 @@ export class UsersService {
|
|||||||
})
|
})
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.logger.error(e?.message || 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',
|
subject: 'Password recovery',
|
||||||
})
|
})
|
||||||
} catch (e) {
|
} 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