sources/network/rconsession.cpp

branch
protocol5
changeset 165
718a8c4df538
parent 160
cf514fa0f1cc
parent 163
5948441a1951
child 166
af5fa8c43ca8
--- a/sources/network/rconsession.cpp	Fri Jul 22 18:03:50 2016 +0300
+++ b/sources/network/rconsession.cpp	Sat Jul 23 12:27:03 2016 +0300
@@ -268,6 +268,8 @@
 	catch (std::exception& e)
 	{
 		m_interface->printWarning("Couldn't process packet: %s\n", e.what());
+		m_interface->printWarning("Packet contents was: %s\n", message.quote().chars());
+		m_interface->printWarning("Stream position in payload was: %d\n", stream.position());
 	}
 }
 

mercurial