We want exceptions to be noticable in activityhandlerplugin
This commit is contained in:
parent
a85a08ff35
commit
4678546d33
@ -325,11 +325,7 @@ abstract class ActivityHandlerPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
$object = $this->activityObjectFromNotice($notice);
|
||||
} catch (NoResultException $e) {
|
||||
$object = null; // because getKV returns null on failure
|
||||
}
|
||||
$object = $this->activityObjectFromNotice($notice);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user