Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging message if setoption parameter successfully set #2065

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

KarlKfoury
Copy link
Contributor

@KarlKfoury KarlKfoury commented Sep 1, 2024

Since setUciOption doesn't throw an exception only if the parameter was successfully set, wrapping option_->setUciOption in a try/catch block, and logging a ' successfully set to ' message after options_->setUciOption() ensures that the message will be logged only if setUciOption was completed without error, meaning it will be logged only if the parameter was set successfully. Adresses issue #1598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant