From 19d9efab32b5c6403e9ee95fb70a2ce56a27f14b Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 19 Aug 2016 23:52:19 +0200 Subject: Avoid breaking import when fetching fail graby will throw an Exception in some case (like a bad url, a restricted url or a secured pdf). Import doesn't handle that case and break the whole import. With that commit the import isn't stopped but the entry is just skipped. Also, as a bonus, I've added extra test on WallabagImportV2 when the json is empty. --- tests/Wallabag/ImportBundle/fixtures/wallabag-v2-empty.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/Wallabag/ImportBundle/fixtures/wallabag-v2-empty.json (limited to 'tests/Wallabag/ImportBundle/fixtures/wallabag-v2-empty.json') diff --git a/tests/Wallabag/ImportBundle/fixtures/wallabag-v2-empty.json b/tests/Wallabag/ImportBundle/fixtures/wallabag-v2-empty.json new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3