diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/BrowserImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/BrowserImport.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php index e15443c4..9d75685b 100644 --- a/src/Wallabag/ImportBundle/Import/BrowserImport.php +++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php | |||
@@ -45,6 +45,8 @@ abstract class BrowserImport extends AbstractImport | |||
45 | $data = json_decode(file_get_contents($this->filepath), true); | 45 | $data = json_decode(file_get_contents($this->filepath), true); |
46 | 46 | ||
47 | if (empty($data)) { | 47 | if (empty($data)) { |
48 | $this->logger->error('Wallabag Browser: no entries in imported file'); | ||
49 | |||
48 | return false; | 50 | return false; |
49 | } | 51 | } |
50 | 52 | ||