We want exceptions to be noticable in activityhandlerplugin

This commit is contained in:
Mikael Nordfeldth 2016-01-16 21:19:34 +01:00
parent a85a08ff35
commit 4678546d33

View File

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