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

stderr #62

Closed
theprogrammer67 opened this issue Nov 30, 2017 · 1 comment
Closed

stderr #62

theprogrammer67 opened this issue Nov 30, 2017 · 1 comment
Assignees
Labels

Comments

@theprogrammer67
Copy link

why do not you use stderr?
I need a description of the error.
I can add to the code (line 2):

                             error! (target: TAG, "Execution error: {}", err);
                             eprintln! ("{} Execution error: {}", TAG, err); // STDERR
                             exit (3);

?
Or are there other solutions?

@rom1v rom1v added the bug label Nov 30, 2017
@rom1v rom1v self-assigned this Nov 30, 2017
rom1v added a commit that referenced this issue Nov 30, 2017
When the log level is Error, print on stderr instead of stdout.

See <#62>.
@rom1v
Copy link
Collaborator

rom1v commented Nov 30, 2017

You're absolutely right, errors should be printed on stderr (I thought they were). 👍

Fixed by c13d5f9.

@rom1v rom1v closed this as completed Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants