Commit 635c2f1c authored by Moshe Weitzman's avatar Moshe Weitzman Committed by Jakob P
Browse files

Issue #3101392 by moshe weitzman: Remove exception during first run in p:queue-work

parent e48893b2
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/purge_drush/src/Commands/QueueCommands.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -528,7 +528,7 @@ class QueueCommands extends DrushCommands implements SiteAliasManagerAwareInterf
      // Break the loop when finished processing or initially empty.
      if ($result['error'] == 'empty') {
        if (count($runs) === 1) {
          throw new \Exception(dt("The queue is empty or has only locked items!"));
          $this->logger()->notice(dt("The initial run found an empty queue, or one with only locked items."));
        }
        break;
      }