MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / vinfoDownloadFailed

Method vinfoDownloadFailed

launcher/updater/DownloadTask.cpp:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void DownloadTask::vinfoDownloadFailed()
74{
75 // Something failed. We really need the second download (current version info), so parse
76 // downloads anyways as long as the first one succeeded.
77 if (m_newVersionFileListDownload->wasSuccessful())
78 {
79 processDownloadedVersionInfo();
80 return;
81 }
82
83 // TODO: Give a more detailed error message.
84 qCritical() << "Failed to download version info files.";
85 emitFailed(tr("Failed to download version info files."));
86}
87
88void DownloadTask::processDownloadedVersionInfo()
89{

Callers

nothing calls this directly

Calls 1

wasSuccessfulMethod · 0.80

Tested by

no test coverage detected