From bd453bba6a79e214ec595a8a140ec38475cc5e7f Mon Sep 17 00:00:00 2001 From: Evgeniy Moiseenko Date: Thu, 19 Oct 2023 16:30:52 +0400 Subject: [PATCH] Update src/drivers/beanstalk/Queue.php Co-authored-by: Bizley --- src/drivers/beanstalk/Queue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/beanstalk/Queue.php b/src/drivers/beanstalk/Queue.php index 65f3c5bc3..384347fa3 100644 --- a/src/drivers/beanstalk/Queue.php +++ b/src/drivers/beanstalk/Queue.php @@ -131,7 +131,7 @@ public function remove(int|string $id): bool try { $this->getPheanstalk()->delete(new JobId($id)); return true; - } catch (Exception) { + } catch (\Throwable) { return false; } }