summaryrefslogtreecommitdiff
path: root/src/MailmanLib.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 19:03:19 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 19:03:19 +0000
commit001f9be89da75fd15aec093857458a270499e681 (patch)
tree23c78cb1402d8d3dd12c895d318c795fbe01e6dd /src/MailmanLib.php
parenta9880643f1adebb81112835d665fb8b5b6904491 (diff)
Converted trigger_error to 'throw new Exception'.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6669 67b53d14-2c14-4ace-a08f-0dab2b34000c
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;
}