GH-1015 catch exceptions when doing profile reapply
This is a temporary solution.
This commit is contained in:
parent
b9e06b5da0
commit
99f248ecd4
3 changed files with 28 additions and 16 deletions
|
@ -389,14 +389,7 @@ bool OneSixProfileStrategy::installJarMods(QStringList filepaths)
|
|||
profile->appendPatch(f);
|
||||
}
|
||||
profile->saveCurrentOrder();
|
||||
try
|
||||
{
|
||||
profile->reapply();
|
||||
}
|
||||
catch (VersionIncomplete &error)
|
||||
{
|
||||
qDebug() << "Version was incomplete:" << error.cause();
|
||||
}
|
||||
profile->reapplySafe();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue