diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-19 23:52:19 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-08-20 01:17:26 +0200 |
commit | 19d9efab32b5c6403e9ee95fb70a2ce56a27f14b (patch) | |
tree | 325d2724ae5e5988b2ab77a33cf3f4cfe88c3647 /src/Wallabag/UserBundle/WallabagUserBundle.php | |
parent | e408d7e895e784271a55c3a200666034db0af80a (diff) | |
download | wallabag-19d9efab32b5c6403e9ee95fb70a2ce56a27f14b.tar.gz wallabag-19d9efab32b5c6403e9ee95fb70a2ce56a27f14b.tar.zst wallabag-19d9efab32b5c6403e9ee95fb70a2ce56a27f14b.zip |
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.
Diffstat (limited to 'src/Wallabag/UserBundle/WallabagUserBundle.php')
0 files changed, 0 insertions, 0 deletions