From 001f9be89da75fd15aec093857458a270499e681 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 11 Apr 2010 19:03:19 +0000 Subject: 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 --- src/MailmanLib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MailmanLib.php') 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; } -- cgit v1.2.3