From 61fe49b100dbc3cf646fe90b563ea4a7c3090a8c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 31 Mar 2011 13:53:17 -0400 Subject: [PATCH] ActivityImporter gives up on any exception --- lib/activityimporter.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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; -- 2.39.5