Throw and log the issue if coupon was not found when rendering

[MAILPOET-4983]
This commit is contained in:
Sam Najian
2023-02-22 17:48:43 +01:00
committed by Aschepikov
parent 534bff5a80
commit c84a6894ba
6 changed files with 52 additions and 7 deletions

View File

@@ -7,7 +7,6 @@ use MailPoet\Logging\LoggerFactory;
use MailPoet\Newsletter\NewslettersRepository;
use MailPoet\Newsletter\Renderer\Blocks\AbandonedCartContent;
use MailPoet\Newsletter\Renderer\Blocks\AutomatedLatestContentBlock;
use MailPoet\NewsletterProcessingException;
use MailPoet\Tasks\Sending as SendingTask;
use MailPoet\WooCommerce\CouponPreProcessor;
use MailPoet\WooCommerce\TransactionalEmails\ContentPreprocessor;