mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Fix incorrect reference to error message body in Mailgun mail driver
This commit is contained in:
parent
cc57e117c9
commit
b80a858c1f
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ class Mailgun extends Base implements \Rhymix\Framework\Drivers\MailInterface
|
||||||
// Parse the result.
|
// Parse the result.
|
||||||
if (!$result)
|
if (!$result)
|
||||||
{
|
{
|
||||||
$message->errors[] = 'Mailgun: Connection error: ' . $request->body;
|
$message->errors[] = 'Mailgun: API error: ' . $request->getBody()->getContents();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
elseif (!$result->id)
|
elseif (!$result->id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue