Skip to content

Commit 32571f4

Browse files
Merge branch '3.4' into 4.4
* 3.4: Fix exception messages containing exception messages
1 parent 9395537 commit 32571f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/AbstractApiTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function doSendHttp(SentMessage $message): ResponseInterface
3131
try {
3232
$email = MessageConverter::toEmail($message->getOriginalMessage());
3333
} catch (\Exception $e) {
34-
throw new RuntimeException(sprintf('Unable to send message with the "%s" transport: '.$e->getMessage(), __CLASS__), 0, $e);
34+
throw new RuntimeException(sprintf('Unable to send message with the "%s" transport: ', __CLASS__).$e->getMessage(), 0, $e);
3535
}
3636

3737
return $this->doSendApi($message, $email, $message->getEnvelope());

0 commit comments

Comments
 (0)