From c29665f1a23d52a939f7b737266c69029fe9104b Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 24 Feb 2009 18:05:25 +0000 Subject: Notifications with nonexistent handlers no longer throw an exception; they now write to the error log. Refs #754 git-svn-id: https://code.elgg.org/elgg/trunk@2931 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/notification.php') diff --git a/engine/lib/notification.php b/engine/lib/notification.php index d73ecc439..c513452cf 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -107,7 +107,7 @@ $handler = $details->handler; if ((!$NOTIFICATION_HANDLERS[$method]) || (!$handler)) - throw new NotificationException(sprintf(elgg_echo('NotificationException:NoHandlerFound'), $method)); + error_log(sprintf(elgg_echo('NotificationException:NoHandlerFound'), $method)); if ($CONFIG->debug) error_log("Sending message to $guid using $method"); -- cgit v1.2.3