diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-24 18:05:25 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-24 18:05:25 +0000 |
commit | c29665f1a23d52a939f7b737266c69029fe9104b (patch) | |
tree | 18ff5f90f9ca551235ac96d7465421caaad6d929 /engine | |
parent | 3962f997429dda07f794424e5427e8ffe614d15b (diff) | |
download | elgg-c29665f1a23d52a939f7b737266c69029fe9104b.tar.gz elgg-c29665f1a23d52a939f7b737266c69029fe9104b.tar.bz2 |
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
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/notification.php | 2 |
1 files changed, 1 insertions, 1 deletions
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");
|