mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Prevent confusing logging
This commit is contained in:
@@ -57,7 +57,11 @@ export class Emailer {
|
||||
|
||||
try {
|
||||
const success = await this.transporter.verify()
|
||||
if (success !== true) this.warnOnConnectionFailure()
|
||||
|
||||
if (success !== true) {
|
||||
this.warnOnConnectionFailure()
|
||||
return
|
||||
}
|
||||
|
||||
logger.info('Successfully connected to SMTP server.')
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user