Add some logging to places where version updates might not trigger.

This commit is contained in:
Petr Mrázek 2014-08-20 21:17:42 +02:00
parent 6deb41e32d
commit 01ca3d6aad

View File

@ -59,12 +59,14 @@ void OneSixUpdate::executeTask()
}
if (m_inst->providesVersionFile() || !targetVersion->needsUpdate())
{
QLOG_DEBUG() << "Instance either provides a version file or doesn't need an update.";
jarlibStart();
return;
}
versionUpdateTask = MMC->minecraftlist()->createUpdateTask(m_inst->intendedVersionId());
if (!versionUpdateTask)
{
QLOG_DEBUG() << "Didn't spawn an update task.";
jarlibStart();
return;
}