]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Just let a UserNoProfileException pass.
authorEvan Prodromou <evan@status.net>
Sat, 5 May 2012 02:57:20 +0000 (22:57 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 5 May 2012 02:57:20 +0000 (22:57 -0400)
lib/pluginqueuehandler.php

index 9653ccad42454f3896a34c26e5d49ae53e3adda9..c2d74f48404b152ca4fea338d2693e32908a0644 100644 (file)
@@ -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;
     }
 }