]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
log with var_export (our shorthand _ve())
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 23 Oct 2016 10:14:02 +0000 (12:14 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 23 Oct 2016 10:14:02 +0000 (12:14 +0200)
lib/dbqueuemanager.php

index 6a2952c28f7313ce505d643112b366a4da12d5ff..0fc7305c0afa8daf6721136ae7e273bd22e9ffc0 100644 (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);