]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activityutils.php
Favorites are now being stored from activities
[quix0rs-gnu-social.git] / lib / activityutils.php
index e9d5d1fba5711adf8adbb33670c669a3e3d81048..feb74f303f3d22d1f36fdae36e025593818797a0 100644 (file)
@@ -398,7 +398,7 @@ class ActivityUtils
         if (!empty($object)) {
             Event::handle('EndFindLocalActivityObject', array($object->getUri(), $type, $object));
         } else {
-            throw new Exception('Could not find any activityobject stored locally with given URI');
+            throw new ServerException('Could not find any activityobject stored locally with given URI');
         }
         return $object;
     }