dbqueuemanager logic

This commit is contained in:
Mikael Nordfeldth 2016-01-16 21:05:34 +01:00
parent fdfa71a033
commit 3019f8f23f

View File

@ -95,10 +95,12 @@ class DBQueueManager extends QueueManager
} catch (NoQueueHandlerException $e) {
$this->noHandlerFound($qi, $rep);
return true;
} catch (AlreadyFulfilledException $e) {
$this->_log(LOG_ERR, "[{$qi->transport}:$rep] AlreadyFulfilledException thrown: {$e->getMessage()}");
$result = true;
} catch (Exception $e) {
$this->_log(LOG_ERR, "[{$qi->transport}:$rep] Exception thrown: {$e->getMessage()}");
$this->_fail($qi);
return true;
$result = false;
}
if ($result) {