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()) if (m_inst->providesVersionFile() || !targetVersion->needsUpdate())
{ {
QLOG_DEBUG() << "Instance either provides a version file or doesn't need an update.";
jarlibStart(); jarlibStart();
return; return;
} }
versionUpdateTask = MMC->minecraftlist()->createUpdateTask(m_inst->intendedVersionId()); versionUpdateTask = MMC->minecraftlist()->createUpdateTask(m_inst->intendedVersionId());
if (!versionUpdateTask) if (!versionUpdateTask)
{ {
QLOG_DEBUG() << "Didn't spawn an update task.";
jarlibStart(); jarlibStart();
return; return;
} }