summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/launch
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-22 08:57:13 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-22 08:57:13 +0200
commit3597a50854b250651ab94af2adb3f94724f368b4 (patch)
tree7fdc25e02dddfa18340bbaf88946fb2d40a4784f /api/logic/minecraft/launch
parent4133247bff3c4d2e51bc2d54a301e3b99557c3ed (diff)
downloadMultiMC-3597a50854b250651ab94af2adb3f94724f368b4.tar
MultiMC-3597a50854b250651ab94af2adb3f94724f368b4.tar.gz
MultiMC-3597a50854b250651ab94af2adb3f94724f368b4.tar.lz
MultiMC-3597a50854b250651ab94af2adb3f94724f368b4.tar.xz
MultiMC-3597a50854b250651ab94af2adb3f94724f368b4.zip
NOISSUE log native extraction failures also to game log
Diffstat (limited to 'api/logic/minecraft/launch')
-rw-r--r--api/logic/minecraft/launch/ExtractNatives.cpp4
1 files changed, 3 insertions, 1 deletions
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();