Prevent confusing logging

This commit is contained in:
Chocobozzz
2026-07-13 14:56:32 +02:00
parent 35122160cd
commit 1580662b7b
+5 -1
View File
@@ -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) {