Add debug log for email transporter configuration and bump version to 0.1.23

This commit is contained in:
2025-09-14 16:14:56 +02:00
parent b4bad70634
commit aa978090fa
2 changed files with 2 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ export class MailingService implements IMailingService {
// Use Payload's configured mailer (cast to any to handle different adapter types)
this.transporter = this.payload.email as any
} else {
console.log('[DEBUG] email: ', this.payload.email);
throw new Error('Email transport configuration is required either in plugin config or Payload config')
}