log with var_export (our shorthand _ve())

This commit is contained in:
Mikael Nordfeldth 2016-10-23 12:14:02 +02:00
parent 6bfc97c95d
commit c5a4921176

View File

@ -81,13 +81,13 @@ class DBQueueManager extends QueueManager
try {
$item = $this->decode($qi->frame);
} catch (Exception $e) {
$this->_log(LOG_INFO, "[{$qi->transport}] Discarding: ".$e->getMessage());
$this->_log(LOG_INFO, "[{$qi->transport}] Discarding: "._ve($e->getMessage()));
$this->_done($qi);
return true;
}
$rep = $this->logrep($item);
$this->_log(LOG_DEBUG, "Got {$rep} for transport {$qi->transport}");
$this->_log(LOG_DEBUG, 'Got '._ve($rep).' for transport '._ve($qi->transport));
try {
$handler = $this->getHandler($qi->transport);