From: Evan Prodromou <evan@status.net>
Date: Thu, 31 Mar 2011 17:53:17 +0000 (-0400)
Subject: ActivityImporter gives up on any exception
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=61fe49b100dbc3cf646fe90b563ea4a7c3090a8c;p=quix0rs-gnu-social.git

ActivityImporter gives up on any exception
---

diff --git a/lib/activityimporter.php b/lib/activityimporter.php
index aa9b95e084..b1f30fa4bf 100644
--- a/lib/activityimporter.php
+++ b/lib/activityimporter.php
@@ -83,15 +83,9 @@ class ActivityImporter extends QueueHandler
                 Event::handle('EndImportActivity',
                               array($user, $author, $activity, $trusted));
                 $done = true;
-            } catch (ClientException $ce) {
-                common_log(LOG_WARNING, $ce->getMessage());
-                $done = true;
-            } catch (ServerException $se) {
-                common_log(LOG_ERR, $se->getMessage());
-                $done = false;
             } catch (Exception $e) {
                 common_log(LOG_ERR, $e->getMessage());
-                $done = false;
+                $done = true;
             }
         }
         return $done;