Bug fixes
This commit is contained in:
parent
478d435cf1
commit
63ede3de45
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Mailer
|
|||
return true;
|
||||
} catch (Exception $exception) {
|
||||
Utils::logError('Email Error: ' . $exception->getMessage());
|
||||
if (false && isset($_ENV['POSTMARK_API_TOKEN'])) {
|
||||
if (isset($_ENV['POSTMARK_API_TOKEN'])) {
|
||||
$response = $exception->getResponse()->getBody()->getContents();
|
||||
$response = json_decode($response);
|
||||
return nl2br($response->Message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue