From 8fb014a912742546a5a18f835b5937260ce9c03d Mon Sep 17 00:00:00 2001
From: ianmthomasuk <ianmthomasuk@1877338.no-reply.drupal.org>
Date: Thu, 6 Feb 2014 05:11:27 -0500
Subject: [PATCH] Issue #1852048 by ianthomas_uk: Comments suggest exceptions
 are ignore, when in fact they are rethrown.

---
 includes/FeedsSource.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/FeedsSource.inc b/includes/FeedsSource.inc
index 83f93728..f4642498 100644
--- a/includes/FeedsSource.inc
+++ b/includes/FeedsSource.inc
@@ -381,7 +381,7 @@ class FeedsSource extends FeedsConfigurable {
       $this->importer->processor->process($this, $parser_result);
     }
     catch (Exception $e) {
-      // Do nothing.
+      // $e is stored and re-thrown once we've had a chance to log our progress.
     }
     $this->releaseLock();
 
@@ -422,7 +422,7 @@ class FeedsSource extends FeedsConfigurable {
       $this->importer->processor->clear($this);
     }
     catch (Exception $e) {
-      // Do nothing.
+      // $e is stored and re-thrown once we've had a chance to log our progress.
     }
     $this->releaseLock();
 
-- 
GitLab