forked from wallabag/wallabag
Add controller test for Instapaper
This commit is contained in:
committed by
Nicolas Lœuillet
parent
ff1a5362f7
commit
c7ea9b41f3
@ -58,6 +58,8 @@ abstract class WallabagImport extends AbstractImport
|
||||
$data = json_decode(file_get_contents($this->filepath), true);
|
||||
|
||||
if (empty($data)) {
|
||||
$this->logger->error('WallabagImport: no entries in imported file');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user