]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Actually throw NoQueueHandlerException too.
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 14 Jan 2016 12:48:33 +0000 (13:48 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 14 Jan 2016 12:48:33 +0000 (13:48 +0100)
lib/queuemanager.php

index 487104099a9e0c5d716be87e786907b9ae0980a2..74e653e72e61ce575bde0ee692a5d6afbe6832e1 100644 (file)
@@ -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);
     }
 
     /**