From: Evan Prodromou Date: Sat, 5 May 2012 02:57:20 +0000 (-0400) Subject: Just let a UserNoProfileException pass. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2879f0a499297b64ac56d78fcb67650cbedce54f;p=quix0rs-gnu-social.git Just let a UserNoProfileException pass. --- diff --git a/lib/pluginqueuehandler.php b/lib/pluginqueuehandler.php index 9653ccad42..c2d74f4840 100644 --- a/lib/pluginqueuehandler.php +++ b/lib/pluginqueuehandler.php @@ -44,7 +44,12 @@ class PluginQueueHandler extends QueueHandler function handle($notice) { - Event::handle('HandleQueuedNotice', array(&$notice)); + try { + Event::handle('HandleQueuedNotice', array(&$notice)); + } catch (UserNoProfileException $unp) { + // We can't do anything about this, so just skip + return true; + } return true; } }