1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-30 19:22:12 +00:00
This commit is contained in:
Nikos Tsipinakis 2025-08-24 11:49:08 +02:00 committed by GitHub
commit 15594bcfe0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,8 @@ abstract class AbstractConsumer
$this->import->setUser($user);
$entry = $this->import->parseEntry($storedEntry);
if (false === $this->import->validateEntry($storedEntry)) {
$this->logger->warning('Entry is invalid', ['entry' => $storedEntry]);
@ -53,8 +55,6 @@ abstract class AbstractConsumer
return true;
}
$entry = $this->import->parseEntry($storedEntry);
if (null === $entry) {
$this->logger->warning('Entry already exists', ['entry' => $storedEntry]);