diff options
Diffstat (limited to 'logic/minecraft/forge')
-rw-r--r-- | logic/minecraft/forge/ForgeInstaller.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/minecraft/forge/ForgeInstaller.cpp b/logic/minecraft/forge/ForgeInstaller.cpp index 9ed040de..86ba6176 100644 --- a/logic/minecraft/forge/ForgeInstaller.cpp +++ b/logic/minecraft/forge/ForgeInstaller.cpp @@ -82,6 +82,17 @@ void ForgeInstaller::prepare(const QString &filename, const QString &universalUr } catch(Exception &err) { + qWarning() << "Forge: Fatal error while parsing version file:" << err.what(); + return; + } + + for(auto problem: newVersion->getProblems()) + { + qWarning() << "Forge: Problem found: " << problem.getDescription(); + } + if(newVersion->getProblemSeverity() == ProblemSeverity::PROBLEM_ERROR) + { + qWarning() << "Forge: Errors found while parsing version file"; return; } |