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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
$object = $this->activityObjectFromNotice($notice);
|
$object = $this->activityObjectFromNotice($notice);
|
||||||
} catch (NoResultException $e) {
|
|
||||||
$object = null; // because getKV returns null on failure
|
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user