NOISSUE log native extraction failures also to game log

This commit is contained in:
Petr Mrázek 2017-05-22 08:57:13 +02:00
parent 4133247bff
commit 3597a50854

View File

@ -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();