diff --git a/src/libtomahawk/network/ControlConnection.cpp b/src/libtomahawk/network/ControlConnection.cpp index 06c7fa83f..4a3f8fa7b 100644 --- a/src/libtomahawk/network/ControlConnection.cpp +++ b/src/libtomahawk/network/ControlConnection.cpp @@ -283,8 +283,8 @@ ControlConnection::handleMsg( msg_ptr msg ) // All control connection msgs are JSON if ( !msg->is( Msg::JSON ) ) { + tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Received message was not in JSON format:" << qPrintable( msg->payload() ); Q_ASSERT( msg->is( Msg::JSON ) ); - tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Received message was not in JSON format"; markAsFailed(); return; }