Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
* 5.0:
  Fix code
  Tweak the code to avoid fabbot false positives
  • Loading branch information
fabpot committed Apr 12, 2020
2 parents 2b466fe + 27ccfde commit 9c0bc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transport/PostmarkApiTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function doSendApi(SentMessage $sentMessage, Email $email, Envelope $e

$result = $response->toArray(false);
if (200 !== $response->getStatusCode()) {
throw new HttpTransportException(sprintf('Unable to send an email: %s (code %d).', $result['Message'], $result['ErrorCode']), $response);
throw new HttpTransportException(sprintf('Unable to send an email: '.$result['Message'].' (code %d).', $result['ErrorCode']), $response);
}

$sentMessage->setMessageId($result['MessageID']);
Expand Down

0 comments on commit 9c0bc5b

Please sign in to comment.