Skip to content

Commit 835b0af

Browse files
authored
Removed useless code (#5190)
1 parent c905d05 commit 835b0af

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Process/ConsumerProcess.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ public function __construct(ContainerInterface $container)
3939

4040
public function handle(): void
4141
{
42-
if (! $this->driver instanceof DriverInterface) {
43-
$logger = $this->container->get(StdoutLoggerInterface::class);
44-
$logger->critical(sprintf('[CRITICAL] process %s is not work as expected, please check the config in [%s]', ConsumerProcess::class, 'config/autoload/queue.php'));
45-
return;
46-
}
47-
4842
$this->driver->consume();
4943
}
5044
}

0 commit comments

Comments
 (0)