From 8f9e42b097b2cf3d771e533867d3f5f8746c8c78 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 18 May 2024 14:15:32 -0400 Subject: [PATCH] Emit error when failing to open benchmark zip file --- launcher/src/benchmarkinstaller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/src/benchmarkinstaller.cpp b/launcher/src/benchmarkinstaller.cpp index 1717fc3..438e9cc 100644 --- a/launcher/src/benchmarkinstaller.cpp +++ b/launcher/src/benchmarkinstaller.cpp @@ -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; }