Just let a UserNoProfileException pass.

This commit is contained in:
Evan Prodromou 2012-05-04 22:57:20 -04:00
parent 0fec1872cd
commit 2879f0a499

View 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;
}
}