diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-05-22 08:57:13 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-05-22 08:57:13 +0200 |
commit | 3597a50854b250651ab94af2adb3f94724f368b4 (patch) | |
tree | 7fdc25e02dddfa18340bbaf88946fb2d40a4784f /api/logic | |
parent | 4133247bff3c4d2e51bc2d54a301e3b99557c3ed (diff) | |
download | MultiMC-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')
-rw-r--r-- | api/logic/minecraft/launch/ExtractNatives.cpp | 4 |
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(); |