Skip to content

Update json_reader.cpp #666

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

Closed
wants to merge 1 commit into from
Closed

Update json_reader.cpp #666

wants to merge 1 commit into from

Conversation

wolframroesler
Copy link
Contributor

Logging parser errors to stderr is an unexpected side effect, and it messes up the application's error output. Not every bad input to the JSON parser is an error I want logged on stderr. No other JsonCpp function writes anything to stderr before throwing. Also, it uses fprintf which it not really C++-like (which makes me hope it's just some forgotten debug output).

Logging parser errors to stderr is an unexpected side effect, and it messes up the application's error output. Not every bad input to the JSON parser is an error I want logged on stderr. No other JsonCpp function writes anything to stderr before throwing. Also, it uses fprintf which it not really C++-like (which makes me hope it's just some forgotten debug output).
@cdunn2001
Copy link
Contributor

Thanks. I don't even know how that got there. I would merge this right away, but our Travis build is suddenly failing. (We need pip3 in order to install Meson. It's so difficult to get a simple, normal, up-to-date Linux environment in TravisCI.)

@cdunn2001 cdunn2001 mentioned this pull request Sep 9, 2017
@cdunn2001 cdunn2001 closed this in c89f028 Sep 9, 2017
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.

2 participants