From 6104ed5310776c04057b69700c232fbc8a1714c5 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Fri, 9 Nov 2018 22:58:36 -0500 Subject: app/model/Form: Log errors instead of flashing user for now. --- app/model/Form.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/model') diff --git a/app/model/Form.php b/app/model/Form.php index 4e6d3f3..18ac634 100644 --- a/app/model/Form.php +++ b/app/model/Form.php @@ -1,6 +1,5 @@ send(); - } catch (Exception $e) { - include '../app/views/mail-error.view.php'; + } catch (Exception $exception) { + log_exception($exception); } } } -- cgit v1.2.3