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

C++ library uses stout for error instead of stderr #59

Open
KevinCCucumber opened this issue Nov 7, 2024 · 0 comments
Open

C++ library uses stout for error instead of stderr #59

KevinCCucumber opened this issue Nov 7, 2024 · 0 comments

Comments

@KevinCCucumber
Copy link

KevinCCucumber commented Nov 7, 2024

When testing the outputs, I experienced a bug where an error would be printed into the std output instead of the error output.
I found it by chance in the latest diff:

std::cout << "[ERROR (pya2l.A2LParser)] " << "Invalid param: " << parameter.get_name() << " -- " << token->toString() << std::endl;

Additionally, I have the error "enumeration 'Type' must be one of......." printed in the stdout:

image

I don't know where this gets imported or what other error cases are related here.

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

No branches or pull requests

1 participant