Include the offending message when reporting a short frame

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5328 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-08-17 03:39:26 +00:00
parent c5bc67d66a
commit 8b48ab9107
@@ -230,7 +230,7 @@ public class Communicator
Log.getLog(this).warning(
"Beans! We didn't fully read a frame, surely there's " +
"a bug in some streaming code. " +
"[bytesLeftOver=" + frameData.bytesAvailable + "].");
"[bytesLeftOver=" + frameData.bytesAvailable + ", msg=" + msg + "].");
}
if (_omgr != null) {