mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
* Print out invalid json message when it occurs.
This commit is contained in:
@@ -191,7 +191,7 @@ DBSyncConnection::handleMsg( msg_ptr msg )
|
|||||||
QVariantMap m = msg->json().toMap();
|
QVariantMap m = msg->json().toMap();
|
||||||
if ( m.empty() )
|
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 );
|
Q_ASSERT( false );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user