add logging for helping debug a crash

This commit is contained in:
AJ Kelly
2011-07-15 12:31:43 -05:00
parent 50f9a2694b
commit 116d339b26
+4
View File
@@ -242,10 +242,14 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS )
pPlayerProfile->m_iNumTotalSongsPlayed += pSS->m_vpPlayedSongs.size();
}
LOG->Trace("Adding stats to machine profile...");
AddPlayerStatsToProfile( pMachineProfile, *pSS, pn );
if( pPlayerProfile )
{
LOG->Trace("Adding stats to player profile...");
AddPlayerStatsToProfile( pPlayerProfile, *pSS, pn );
}
CHECKPOINT;
}