mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-27 00:43:47 +00:00
More logging
This commit is contained in:
parent
34c23659e9
commit
75bd68c53e
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ namespace tawashi {
|
|||
std::ifstream if_mstch(oss.str(), std::ios::binary | std::ios::in);
|
||||
|
||||
if (not if_mstch) {
|
||||
spdlog::get("statuslog")->warn("Couldn't open file \"{}\"", oss.str());
|
||||
if (parThrow)
|
||||
throw std::runtime_error(std::string("File \"") + oss.str() + "\" not found");
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue