Print incorrect packet

This commit is contained in:
Benau 2018-09-13 10:46:54 +08:00
parent 3b070cdaad
commit f0a4b707ef

View File

@ -442,6 +442,7 @@ void ProtocolManager::update(int ticks)
{
Log::error("ProtocolManager", "Synchronous event error: %s",
e.what());
Log::error("ProtocolManager", (*i)->data().getLogMessage().c_str());
}
m_sync_events_to_process.lock();
if (can_be_deleted)
@ -497,6 +498,8 @@ void ProtocolManager::asynchronousUpdate()
{
Log::error("ProtocolManager", "Asynchronous event error: %s",
e.what());
Log::error("ProtocolManager",
(*i)->data().getLogMessage().c_str());
}
m_all_protocols[(*i)->getType()].unlock();