[web] log emails on level INFO from fallback transport GitOrigin-RevId: a1f63e302cf6c5fcfa82b85ff2c79182fdc58945
@@ -59,7 +59,7 @@ function getClient() {
)
client = {
async sendMail(options) {
- logger.debug({ options }, 'Would send email if enabled.')
+ logger.info({ options }, 'Would send email if enabled.')
},
}
@@ -22,7 +22,7 @@ describe('Add secondary email address confirmation code email', function () {
this.skip()
- spy = sinon.spy(logger, 'debug')
+ spy = sinon.spy(logger, 'info')
user = new User()
await user.register()
await user.login()