changed error output
This commit is contained in:
@@ -346,7 +346,7 @@ type get_value(const std::string & name, json & object, const std::string & file
|
||||
}
|
||||
catch(json::exception &e)
|
||||
{
|
||||
CLOG(ERROR, OUTPUT_LOGGER) << "File " << file_name << " seems to be corrupted at " << name << ": " << e.what();
|
||||
/*CLOG(ERROR, OUTPUT_LOGGER)*/ std::cerr << "File " << file_name << " seems to be corrupted at " << name << ": " << e.what();
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
return element;
|
||||
|
||||
Reference in New Issue
Block a user