From 9efdd7232c79efd65a50cb46194ccbc1aab86e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 17 Nov 2016 04:40:07 +0100 Subject: [PATCH] NOISSUE include json path in errors when FTB json is missing. --- api/logic/minecraft/ftb/FTBProfileStrategy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/logic/minecraft/ftb/FTBProfileStrategy.cpp b/api/logic/minecraft/ftb/FTBProfileStrategy.cpp index f5faacae..e4e6a6ae 100644 --- a/api/logic/minecraft/ftb/FTBProfileStrategy.cpp +++ b/api/logic/minecraft/ftb/FTBProfileStrategy.cpp @@ -44,7 +44,7 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches() } else { - throw VersionIncomplete("net.minecraft"); + throw VersionIncomplete("net.minecraft : " + mcJson); } minecraftPatch->setOrder(-2); } @@ -86,7 +86,7 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches() } else { - throw VersionIncomplete("org.multimc.ftb.pack"); + throw VersionIncomplete("org.multimc.ftb.pack : " + mcJson); } packPatch->setOrder(1); }