Add info string when loading/failing to load an eval file.

This commit is contained in:
Tomasz Sobczyk
2020-09-24 22:57:55 +02:00
parent 9f87282c6d
commit d4a5f91766

View File

@@ -77,7 +77,14 @@ namespace Eval {
{
ifstream stream(directory + eval_file, ios::binary);
if (load_eval(eval_file, stream))
{
sync_cout << "info string Loaded eval file " << directory + eval_file << sync_endl;
eval_file_loaded = eval_file;
}
else
{
sync_cout << "info string ERROR: failed to load eval file " << directory + eval_file << sync_endl;
}
}
}