From 3597a50854b250651ab94af2adb3f94724f368b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 22 May 2017 08:57:13 +0200 Subject: [PATCH] NOISSUE log native extraction failures also to game log --- api/logic/minecraft/launch/ExtractNatives.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/logic/minecraft/launch/ExtractNatives.cpp b/api/logic/minecraft/launch/ExtractNatives.cpp index de654387..9f36f8f4 100644 --- a/api/logic/minecraft/launch/ExtractNatives.cpp +++ b/api/logic/minecraft/launch/ExtractNatives.cpp @@ -84,7 +84,9 @@ void ExtractNatives::executeTask() { if(!unzipNatives(source, outputPath, jniHackEnabled)) { - emitFailed(tr("Couldn't extract native jar '%1' to destination '%2'").arg(source, outputPath)); + auto reason = tr("Couldn't extract native jar '%1' to destination '%2'").arg(source, outputPath); + emit logLine(reason, MessageLevel::Fatal); + emitFailed(reason); } } emitSucceeded();