Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit 89c542b

Browse files
author
Steve Porter
committed
fix: syntax error
1 parent f5d01d2 commit 89c542b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/RabbitMQQueue.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ protected function popRaw($queueName = null)
7979
if ($message = $consumer->receiveNoWait()) {
8080
return new RabbitMQJob($this->container, $this, $consumer, $message);
8181
}
82+
} catch (\Exception $exception) {
8283
$this->reportConnectionError('pop', $exception);
8384
}
85+
86+
return null;
8487
}
8588

8689
/**

0 commit comments

Comments
 (0)