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

Make debug output a little more helpful

This commit is contained in:
Jeff Mitchell
2011-03-31 12:18:49 -04:00
parent 14f5508140
commit 0c4e304ee5

View File

@@ -599,7 +599,7 @@ TwitterPlugin::makeConnection( const QString &screenName, const QHash< QString,
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
if ( m_attemptedConnects.contains( screenName ) && m_attemptedConnects[screenName] ) if ( m_attemptedConnects.contains( screenName ) && m_attemptedConnects[screenName] )
{ {
qDebug() << "Already attempted to connect to this peer with no change in their status, not trying again for now"; qDebug() << "Already attempted to connect to " << screenName << " with no change in their status, not trying again for now";
return; return;
} }
if ( !peerData.contains( "host" ) || !peerData.contains( "port" ) || !peerData.contains( "pkey" ) || !peerData.contains( "node" ) ) if ( !peerData.contains( "host" ) || !peerData.contains( "port" ) || !peerData.contains( "pkey" ) || !peerData.contains( "node" ) )