1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-17 22:57: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 c70d22baa7
commit 2249154031

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;
}