]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activityhandlerplugin.php
Better error handling in Bookmark
[quix0rs-gnu-social.git] / lib / activityhandlerplugin.php
index 2544179c5e2e96a6a196f75de45325fa737674f0..8b2a458454711187e059d7dc7c39fea4dbf8763d 100644 (file)
@@ -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;
     }