-
Notifications
You must be signed in to change notification settings - Fork 74
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
Converted the exception to an error message #5531
Conversation
{ | ||
LOG_ERROR("Skipping unknown settings option: (" + optionName + ")"); | ||
continue; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
I have one question, are there other places in this file that This is from the same file on line 143. It is loading JSON config files while the other is command line arguments.
|
Good point. I'll change that one as well. Slightly different topic. I keep seeing this error in Jenkins but I can't reproduce it locally in Docker or in Vagrant. Any ideas?
|
…ttings unit tests.
* Converted the exception to an error message refs: #5530 * Converted a JSON settings file exception to an error. refs: #5530 * Fix infinite loop when bad option is encountered * Copyright :shakes-fist: * Capture the log output to a string if desired, compare that in the Settings unit tests. * Copyright Co-authored-by: Ben Marchant <[email protected]>
As the title says.
Now, unknown settings objects give an error instead of killing the job
Closes #5530