1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 04:37:46 +00:00

Emit error when failing to open benchmark zip file

This commit is contained in:
Joshua Goins 2024-05-18 14:15:32 -04:00
parent f3a45fe847
commit 8f9e42b097

View file

@ -69,8 +69,8 @@ void BenchmarkInstaller::installGame()
KZip archive(m_localInstallerPath);
if (!archive.open(QIODevice::ReadOnly)) {
qCritical(ASTRA_LOG) << "Failed to extract benchmark files";
Q_EMIT error(i18n("Failed to extract benchmark files."));
qCritical(ASTRA_LOG) << "Failed to extract benchmark files:" << archive.errorString();
Q_EMIT error(i18n("Failed to extract benchmark files:\n\n%1", archive.errorString()));
return;
}