aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/Functions.php')
-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);
}
}