summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-17 04:40:07 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-17 04:40:07 +0100
commit9efdd7232c79efd65a50cb46194ccbc1aab86e6e (patch)
tree7014fa278cfc9c930378376d0f858af077025f96 /api
parent9b4198663463ce584fbd4f78adff29edc2bbc51c (diff)
downloadMultiMC-9efdd7232c79efd65a50cb46194ccbc1aab86e6e.tar
MultiMC-9efdd7232c79efd65a50cb46194ccbc1aab86e6e.tar.gz
MultiMC-9efdd7232c79efd65a50cb46194ccbc1aab86e6e.tar.lz
MultiMC-9efdd7232c79efd65a50cb46194ccbc1aab86e6e.tar.xz
MultiMC-9efdd7232c79efd65a50cb46194ccbc1aab86e6e.zip
NOISSUE include json path in errors when FTB json is missing.
Diffstat (limited to 'api')
-rw-r--r--api/logic/minecraft/ftb/FTBProfileStrategy.cpp4
1 files 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);
}