Fixed "Files not found" error message syntax

This commit is contained in:
Desone Burns II 2019-05-08 15:37:15 -07:00
parent e86d93760f
commit 4ae0a96b53

View File

@ -312,7 +312,7 @@ std::vector<std::pair<bool, boost::filesystem::path>> Storage::GetStaticFiles()
{ {
if (file.first == REQUIRED && !boost::filesystem::exists(file.second)) if (file.first == REQUIRED && !boost::filesystem::exists(file.second))
{ {
throw util::exception("Could not find required filed: " + std::get<1>(file).string()); throw util::exception("Could not find required file(s): " + std::get<1>(file).string());
} }
} }
@ -337,7 +337,7 @@ std::vector<std::pair<bool, boost::filesystem::path>> Storage::GetUpdatableFiles
{ {
if (file.first == REQUIRED && !boost::filesystem::exists(file.second)) if (file.first == REQUIRED && !boost::filesystem::exists(file.second))
{ {
throw util::exception("Could not find required filed: " + std::get<1>(file).string()); throw util::exception("Could not find required file(s): " + std::get<1>(file).string());
} }
} }