forked from GNUsocial/gnu-social
log with var_export (our shorthand _ve())
This commit is contained in:
parent
6bfc97c95d
commit
c5a4921176
@ -81,13 +81,13 @@ class DBQueueManager extends QueueManager
|
|||||||
try {
|
try {
|
||||||
$item = $this->decode($qi->frame);
|
$item = $this->decode($qi->frame);
|
||||||
} catch (Exception $e) {
|
} 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);
|
$this->_done($qi);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$rep = $this->logrep($item);
|
$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 {
|
try {
|
||||||
$handler = $this->getHandler($qi->transport);
|
$handler = $this->getHandler($qi->transport);
|
||||||
|
Loading…
Reference in New Issue
Block a user