dbqueuemanager logic
This commit is contained in:
parent
fdfa71a033
commit
3019f8f23f
@ -95,10 +95,12 @@ class DBQueueManager extends QueueManager
|
|||||||
} catch (NoQueueHandlerException $e) {
|
} catch (NoQueueHandlerException $e) {
|
||||||
$this->noHandlerFound($qi, $rep);
|
$this->noHandlerFound($qi, $rep);
|
||||||
return true;
|
return true;
|
||||||
|
} catch (AlreadyFulfilledException $e) {
|
||||||
|
$this->_log(LOG_ERR, "[{$qi->transport}:$rep] AlreadyFulfilledException thrown: {$e->getMessage()}");
|
||||||
|
$result = true;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->_log(LOG_ERR, "[{$qi->transport}:$rep] Exception thrown: {$e->getMessage()}");
|
$this->_log(LOG_ERR, "[{$qi->transport}:$rep] Exception thrown: {$e->getMessage()}");
|
||||||
$this->_fail($qi);
|
$result = false;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
|
Loading…
Reference in New Issue
Block a user