]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
processFeed would abort on certain errors where findLocalObject failed
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index 00c87bb004839838d9c9b7ae722a5625e0387cbd..e35cfe43577bd9fc9055fdc167db12b782cabf58 100644 (file)
@@ -473,6 +473,9 @@ class Ostatus_profile extends Managed_DataObject
                 $this->processEntry($entry, $feed, $source);
             } catch (AlreadyFulfilledException $e) {
                 common_debug('We already had this entry: '.$e->getMessage());
+            } catch (ServerException $e) {
+                // FIXME: This should be UnknownUriException and the ActivityUtils:: findLocalObject should only test one URI
+                common_log(LOG_ERR, 'Entry threw exception while processing a feed from '.$source.': '.$e->getMessage());
             }
         }
     }