summaryrefslogtreecommitdiff
path: root/src/MailmanLib.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/MailmanLib.php')
-rw-r--r--src/MailmanLib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MailmanLib.php b/src/MailmanLib.php
index ca3dadf..cc68d42 100644
--- a/src/MailmanLib.php
+++ b/src/MailmanLib.php
@@ -3,7 +3,7 @@
function read_raw_message($url) {
$input = file_get_contents($url);
if (!$input) {
- trigger_error("No input in $url", E_USER_ERROR);
+ throw new Exception("No input in $url");
}
return $input;
}