aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/WallabagImport.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-27 17:01:14 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-27 20:27:08 +0200
commitc7ea9b41f32f222fef6a59734ea0b1176bfa1f41 (patch)
tree5a8b1a816ff42582fcc6a5d095bff9eca8e4de8b /src/Wallabag/ImportBundle/Import/WallabagImport.php
parentff1a5362f7254d686864ea53994da6c517b3d3e8 (diff)
downloadwallabag-c7ea9b41f32f222fef6a59734ea0b1176bfa1f41.tar.gz
wallabag-c7ea9b41f32f222fef6a59734ea0b1176bfa1f41.tar.zst
wallabag-c7ea9b41f32f222fef6a59734ea0b1176bfa1f41.zip
Add controller test for Instapaper
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/WallabagImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/WallabagImport.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagImport.php b/src/Wallabag/ImportBundle/Import/WallabagImport.php
index 3754e4a9..702da057 100644
--- a/src/Wallabag/ImportBundle/Import/WallabagImport.php
+++ b/src/Wallabag/ImportBundle/Import/WallabagImport.php
@@ -58,6 +58,8 @@ abstract class WallabagImport extends AbstractImport
58 $data = json_decode(file_get_contents($this->filepath), true); 58 $data = json_decode(file_get_contents($this->filepath), true);
59 59
60 if (empty($data)) { 60 if (empty($data)) {
61 $this->logger->error('WallabagImport: no entries in imported file');
62
61 return false; 63 return false;
62 } 64 }
63 65