Add soft level errors distinction for Amazon SES service
[MAILPOET-1154]
This commit is contained in:
@@ -70,7 +70,7 @@ class AmazonSES {
|
||||
$this->request($newsletter, $subscriber, $extra_params)
|
||||
);
|
||||
} catch(\Exception $e) {
|
||||
$error = $this->error_mapper->getErrorFromException($e);
|
||||
$error = $this->error_mapper->getErrorFromException($e, $subscriber);
|
||||
return Mailer::formatMailerErrorResult($error);
|
||||
}
|
||||
if(is_wp_error($result)) {
|
||||
|
Reference in New Issue
Block a user