Unreadable file is a hard error, logged
This commit is contained in:
parent
84a5134620
commit
a1b0f52e89
|
@ -80,8 +80,8 @@ public:
|
|||
if (line[0] == '#' || line.empty())
|
||||
continue;
|
||||
if (!std::ifstream(line).good()) {
|
||||
if (config.log_debug)
|
||||
std::cout << "FILE UNREADABLE: " << std::quoted(line) << std::endl;
|
||||
// if (config.log_debug)
|
||||
std::cout << "FILE UNREADABLE: " << std::quoted(line) << std::endl;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue