diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-21 15:15:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 15:15:41 +0200 |
commit | f99ddbc6f82b0e5619d51ec4415738bf34d350b6 (patch) | |
tree | 1aab7d493dcb8fe79f19d612ef62f7d8e58f597f /src/Wallabag/ImportBundle/Consumer | |
parent | 49dee2d2de63af36248e92ce740da2692358280e (diff) | |
parent | b64d8f2c9f4092b43da5f4a978028d80d9ee81a8 (diff) | |
download | wallabag-f99ddbc6f82b0e5619d51ec4415738bf34d350b6.tar.gz wallabag-f99ddbc6f82b0e5619d51ec4415738bf34d350b6.tar.zst wallabag-f99ddbc6f82b0e5619d51ec4415738bf34d350b6.zip |
Merge pull request #2481 from wallabag/some-fixes
Some fixes
Diffstat (limited to 'src/Wallabag/ImportBundle/Consumer')
-rw-r--r-- | src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php b/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php index 2b85ad76..b893ea29 100644 --- a/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php +++ b/src/Wallabag/ImportBundle/Consumer/AbstractConsumer.php | |||
@@ -50,9 +50,10 @@ abstract class AbstractConsumer | |||
50 | $entry = $this->import->parseEntry($storedEntry); | 50 | $entry = $this->import->parseEntry($storedEntry); |
51 | 51 | ||
52 | if (null === $entry) { | 52 | if (null === $entry) { |
53 | $this->logger->warning('Unable to parse entry', ['entry' => $storedEntry]); | 53 | $this->logger->warning('Entry already exists', ['entry' => $storedEntry]); |
54 | 54 | ||
55 | return false; | 55 | // return true to skip message |
56 | return true; | ||
56 | } | 57 | } |
57 | 58 | ||
58 | try { | 59 | try { |