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

util: Report parse errors in configuration file #14105

Merged
merged 2 commits into from
Sep 6, 2018

Commits on Aug 30, 2018

  1. util: Report parse errors in configuration file

    Report errors while parsing the configuration file, instead of silently
    ignoring them.
    
        $ src/bitcoind -regtest
        Error reading configuration file: parse error on line 22: nodebuglogfile, if you intended to specify a negated option, use nodebuglogfile=1 instead
        $ src/bitcoind -regtest
        Error reading configuration file: parse error on line 22: sdafsdfafs
        $ src/bitcoind -regtest
        Error reading configuration file: parse error on line 24: -nodebuglogfile=1, options in the configuration file must be specified without leading -
    laanwj committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    a66c0f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. test: Add test for config file parsing errors

    MarcoFalke authored and laanwj committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    ed2332a View commit details
    Browse the repository at this point in the history