Skip to content
Snippets Groups Projects
Commit 8fb014a9 authored by ianmthomasuk's avatar ianmthomasuk Committed by Chris Leppanen
Browse files

Issue #1852048 by ianthomas_uk: Comments suggest exceptions are ignore, when...

Issue #1852048 by ianthomas_uk: Comments suggest exceptions are ignore, when in fact they are rethrown.
parent 10f1d6a3
No related branches found
No related tags found
No related merge requests found
...@@ -381,7 +381,7 @@ class FeedsSource extends FeedsConfigurable { ...@@ -381,7 +381,7 @@ class FeedsSource extends FeedsConfigurable {
$this->importer->processor->process($this, $parser_result); $this->importer->processor->process($this, $parser_result);
} }
catch (Exception $e) { catch (Exception $e) {
// Do nothing. // $e is stored and re-thrown once we've had a chance to log our progress.
} }
$this->releaseLock(); $this->releaseLock();
...@@ -422,7 +422,7 @@ class FeedsSource extends FeedsConfigurable { ...@@ -422,7 +422,7 @@ class FeedsSource extends FeedsConfigurable {
$this->importer->processor->clear($this); $this->importer->processor->clear($this);
} }
catch (Exception $e) { catch (Exception $e) {
// Do nothing. // $e is stored and re-thrown once we've had a chance to log our progress.
} }
$this->releaseLock(); $this->releaseLock();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment