diff --git a/src/patch.cpp b/src/patch.cpp index e848d8f2..989825f1 100644 --- a/src/patch.cpp +++ b/src/patch.cpp @@ -455,6 +455,7 @@ json_t* Manager::toJson() { void Manager::fromJson(json_t* rootJ) { clear(); + warningLog = ""; // version std::string version; diff --git a/src/plugin.cpp b/src/plugin.cpp index cc59caa7..b494e6b2 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -398,7 +398,7 @@ Model* modelFromJson(json_t* moduleJ) { // Get Model Model* model = getModelFallback(pluginSlug, modelSlug); if (!model) - throw Exception("Could not find module \"%s\" \"%s\"", pluginSlug.c_str(), modelSlug.c_str()); + throw Exception("Could not find module %s/%s", pluginSlug.c_str(), modelSlug.c_str()); return model; }