X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Factivityhandlerplugin.php;h=8b2a458454711187e059d7dc7c39fea4dbf8763d;hb=0e91a38c9c8cbaec0d29c5762b8194d2044e848b;hp=2544179c5e2e96a6a196f75de45325fa737674f0;hpb=89d3d9b2cef52efe054128f7f1f457ee260cee61;p=quix0rs-gnu-social.git diff --git a/lib/activityhandlerplugin.php b/lib/activityhandlerplugin.php index 2544179c5e..8b2a458454 100644 --- a/lib/activityhandlerplugin.php +++ b/lib/activityhandlerplugin.php @@ -625,7 +625,11 @@ abstract class ActivityHandlerPlugin extends Plugin return true; } - $this->showNoticeContent($stored, $out, $scoped); + try { + $this->showNoticeContent($stored, $out, $scoped); + } catch (Exception $e) { + $out->element('div', 'error', $e->getMessage()); + } return false; }