We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3fd6b9d4 authored by Evan Prodromou's avatar Evan Prodromou

capture some info if serialization fails on stomp frame

parent 21c16b2e
......@@ -480,6 +480,13 @@ class StompQueueManager extends QueueManager
{
$host = $this->cons[$this->defaultIdx]->getServer();
$message = unserialize($frame->body);
if ($message === false) {
$this->_log(LOG_ERR, "Can't unserialize frame: {$frame->body}");
$this->stats('baditem', $queue);
return false;
}
$site = $message['site'];
$queue = $message['handler'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment