summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
576d285)
When the `parseEntry` returns null it means the entry already exists in the database. Sending `false` as return, will requeue the message which will then loop forever.
$entry = $this->import->parseEntry($storedEntry);
if (null === $entry) {
$entry = $this->import->parseEntry($storedEntry);
if (null === $entry) {
- $this->logger->warning('Unable to parse entry', ['entry' => $storedEntry]);
+ $this->logger->warning('Entry already exists', ['entry' => $storedEntry]);
+ // return true to skip message
+ return true;