Skip to content

Commit

Permalink
fix: add conditional for uciok logger (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
gahtan-syarif committed Jun 23, 2024
1 parent fd84de8 commit e5ee559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/engine/uci_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ bool UciEngine::uciok() {
uci_options_[key] = value;
}

Logger::trace<true>("Engine {} did not respond to uciok in time.", config_.name);
if (!res) Logger::trace<true>("Engine {} did not respond to uciok in time.", config_.name);

return res;
}
Expand Down

0 comments on commit e5ee559

Please sign in to comment.