changed error output

This commit is contained in:
Johannes Wendel
2019-08-15 19:44:35 +02:00
parent 314b8e3356
commit 6c943211c3
2 changed files with 4 additions and 4 deletions

View File

@@ -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;