summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/F2M.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/F2M.php b/src/F2M.php
index ab19a9d..51c7fab 100644
--- a/src/F2M.php
+++ b/src/F2M.php
@@ -4,7 +4,7 @@ try {
send_to_lists($user, $mode, $data, $post_data);
}
catch (Exception $e) {
- print "<p>$e</p>\n";
+ trigger_error($e, E_USER_ERROR);
}
function send_to_lists($user, $mode, $data, $post_data) {