aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-03-28 21:42:58 -0400
committerThedro Neely <thedroneely@gmail.com>2019-03-28 21:42:58 -0400
commitc9179c4df52279086f170bc540ea34e9fb430f48 (patch)
treed856ea0dafc90d15532e29cdc38dfbb263ce95a7 /bootstrap
parente40701e1565e5575e7c740498bfc3f138b3041ce (diff)
downloadedwinmattiacci.com-c9179c4df52279086f170bc540ea34e9fb430f48.tar.gz
edwinmattiacci.com-c9179c4df52279086f170bc540ea34e9fb430f48.tar.bz2
edwinmattiacci.com-c9179c4df52279086f170bc540ea34e9fb430f48.zip
bootstrap/Functions: Log the exception in phpmailer
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/Functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/Functions.php b/bootstrap/Functions.php
index e53fb59..cba90aa 100644
--- a/bootstrap/Functions.php
+++ b/bootstrap/Functions.php
@@ -33,8 +33,8 @@ function sendMail($name, $email, $message)
$mail->AltBody = $message;
$mail->send();
- } catch (Exception $e) {
- require '../views/senterror.view.php';
+ } catch (Exception $exception) {
+ log_exception($exception);
}
}