summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorianmthomasuk2014-02-06 05:11:27 -0500
committerChris Leppanen2014-02-06 05:11:27 -0500
commit8fb014a912742546a5a18f835b5937260ce9c03d (patch)
tree24146e73a92ac1013204505ed69d9a61706b54b0
parent10f1d6a3cf20fe39bfa19079e600f123f1c563d3 (diff)
Issue #1852048 by ianthomas_uk: Comments suggest exceptions are ignore, when in fact they are rethrown.
-rw-r--r--includes/FeedsSource.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/FeedsSource.inc b/includes/FeedsSource.inc
index 83f9372..f464249 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();