Skip to content

Commit 3ac14a9

Browse files
ENGCOM-9149: Fix regression - Add previous exception with more details #33419
- Merge Pull Request #33419 from ihor-sviziev/magento2:patch-17 - Merged commits: 1. 92f2c59
2 parents 60637c2 + 92f2c59 commit 3ac14a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/Model/Transport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function sendMessage()
111111
$this->laminasTransport->send($laminasMessage);
112112
} catch (\Exception $e) {
113113
$this->logger->error($e);
114-
throw new MailException(new Phrase('Unable to send mail. Please try again later.'));
114+
throw new MailException(new Phrase('Unable to send mail. Please try again later.'), $e);
115115
}
116116
}
117117

0 commit comments

Comments
 (0)