From: Mikael Nordfeldth Date: Sun, 23 Oct 2016 10:14:02 +0000 (+0200) Subject: log with var_export (our shorthand _ve()) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5a49211767e9528faf15397410c60c3fdce5b6d;p=quix0rs-gnu-social.git log with var_export (our shorthand _ve()) --- diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php index 6a2952c28f..0fc7305c0a 100644 --- a/lib/dbqueuemanager.php +++ b/lib/dbqueuemanager.php @@ -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);