Print incorrect packet
This commit is contained in:
parent
3b070cdaad
commit
f0a4b707ef
@ -442,6 +442,7 @@ void ProtocolManager::update(int ticks)
|
|||||||
{
|
{
|
||||||
Log::error("ProtocolManager", "Synchronous event error: %s",
|
Log::error("ProtocolManager", "Synchronous event error: %s",
|
||||||
e.what());
|
e.what());
|
||||||
|
Log::error("ProtocolManager", (*i)->data().getLogMessage().c_str());
|
||||||
}
|
}
|
||||||
m_sync_events_to_process.lock();
|
m_sync_events_to_process.lock();
|
||||||
if (can_be_deleted)
|
if (can_be_deleted)
|
||||||
@ -497,6 +498,8 @@ void ProtocolManager::asynchronousUpdate()
|
|||||||
{
|
{
|
||||||
Log::error("ProtocolManager", "Asynchronous event error: %s",
|
Log::error("ProtocolManager", "Asynchronous event error: %s",
|
||||||
e.what());
|
e.what());
|
||||||
|
Log::error("ProtocolManager",
|
||||||
|
(*i)->data().getLogMessage().c_str());
|
||||||
}
|
}
|
||||||
m_all_protocols[(*i)->getType()].unlock();
|
m_all_protocols[(*i)->getType()].unlock();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user