From 2442f2549eba97d7ca50ea39e2875ec71ce7b9de Mon Sep 17 00:00:00 2001 From: Joshua Thijssen Date: Sat, 1 Oct 2011 10:36:52 +0300 Subject: [PATCH] Edited stomp.php via GitHub --- stomp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stomp.php b/stomp.php index a5dc3c1..d8575a6 100644 --- a/stomp.php +++ b/stomp.php @@ -29,7 +29,6 @@ $frame = $stomp->readFrame(); if (! $frame) continue; // Timeout - $a = array(); try { $m = new Marshal(); $a = $m->load($frame->body); // Decode frame body @@ -45,6 +44,7 @@ } catch(MarshalException $e) { print "Exception: ".$e->getMessage()."\n"; + continue; } $frame->body = $a;