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
invalid yaml produces cryptic error #6509
Comments
We're limited to what the ruby's yaml parser gives us:
The only option is to create a user friendly component that parses these messages, but it seems like a big time investment .. |
I think if the error was more descriptive - that Maybe something like: |
@jpcarey makes sense, thank you for the suggestion |
Fixed in #6546 |
Should improve the error thrown when an invalid yaml file is read from logstash.yml.
Current error:
ERROR: Failed to load settings file from "path.settings". Aborting... path.setting=/etc/logstash/, exception=Psych::SyntaxError, message=>(<unknown>): expected <block end>, but found BlockMappingStart while parsing a block mapping at line 155 column 2
The text was updated successfully, but these errors were encountered: