1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-30 19:00:12 +02:00

* Print out invalid json message when it occurs.

This commit is contained in:
Christian Muehlhaeuser
2013-09-03 12:42:22 +02:00
parent 7e14c21135
commit bffd198e53

View File

@@ -191,7 +191,7 @@ DBSyncConnection::handleMsg( msg_ptr msg )
QVariantMap m = msg->json().toMap();
if ( m.empty() )
{
tLog() << "Failed to parse msg in dbsync" << m_source->id() << m_source->friendlyName();
tLog() << "Failed to parse msg in dbsync from:" << m_source->id() << m_source->friendlyName() << msg->json();
Q_ASSERT( false );
return;
}