From c173c4faa52c0ff2b76a68752af5f87699cdd959 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 14 Jan 2016 13:48:33 +0100 Subject: [PATCH] Actually throw NoQueueHandlerException too. --- lib/queuemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/queuemanager.php b/lib/queuemanager.php index 487104099a..74e653e72e 100644 --- a/lib/queuemanager.php +++ b/lib/queuemanager.php @@ -235,7 +235,7 @@ abstract class QueueManager extends IoManager $this->_log(LOG_ERR, "Nonexistent handler class '$class' for queue '$queue'"); } } - return null; + throw new NoQueueHandlerException($queue); } /** -- 2.39.5