]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix bad variable, show frame length
authorEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 23:33:00 +0000 (19:33 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 23:33:00 +0000 (19:33 -0400)
lib/stompqueuemanager.php

index 45a82e240acab6f35756e4544d298ee77db86464..7dd3e6961e005857bf5bbb729a2d4d11cf8ccf2f 100644 (file)
@@ -483,7 +483,7 @@ class StompQueueManager extends QueueManager
 
         if ($message === false) {
             $this->_log(LOG_ERR, "Can't unserialize frame: {$frame->body}");
-            $this->stats('baditem', $queue);
+            $this->_log(LOG_ERR, "Unserializable frame length: " . strlen($frame->body));
             return false;
         }