mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +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);
|
std::ifstream if_mstch(oss.str(), std::ios::binary | std::ios::in);
|
||||||
|
|
||||||
if (not if_mstch) {
|
if (not if_mstch) {
|
||||||
|
spdlog::get("statuslog")->warn("Couldn't open file \"{}\"", oss.str());
|
||||||
if (parThrow)
|
if (parThrow)
|
||||||
throw std::runtime_error(std::string("File \"") + oss.str() + "\" not found");
|
throw std::runtime_error(std::string("File \"") + oss.str() + "\" not found");
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue