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

Add ability to catch libsml error messages #17

Open
andig opened this issue Mar 18, 2015 · 3 comments
Open

Add ability to catch libsml error messages #17

andig opened this issue Mar 18, 2015 · 3 comments

Comments

@andig
Copy link

andig commented Mar 18, 2015

...instead of writing them to STDERR

@hmueller01
Copy link

You are right. A library should not write to strerr. It should return an error number and the application should decide what to do (write an error message, stop execution, nothing ...)
BTW: If you like to suppress the error messages right now you can use sml_server /dev/ttyUSB0 2>/dev/null

@r00t-
Copy link
Collaborator

r00t- commented Jan 19, 2018

realize that before #12 it would even write them to stdout.

@r00t-
Copy link
Collaborator

r00t- commented Dec 28, 2020

made some implementation, please have a look at #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants