sources/network/rconsession.cpp

changeset 163
5948441a1951
parent 158
de7574d292ad
child 168
96ffd13c08a2
child 165
718a8c4df538
--- a/sources/network/rconsession.cpp	Sat Jul 23 12:15:52 2016 +0300
+++ b/sources/network/rconsession.cpp	Sat Jul 23 12:22:23 2016 +0300
@@ -226,6 +226,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