diff options
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/Functions.php | 4 |
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); } } |