Skip to content

Write drudg errors to stderr #95

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

Open
wehimwich opened this issue Feb 24, 2021 · 0 comments
Open

Write drudg errors to stderr #95

wehimwich opened this issue Feb 24, 2021 · 0 comments
Labels
drudg drudg specific enhancement New feature or request

Comments

@wehimwich
Copy link
Member

wehimwich commented Feb 24, 2021

It would be helpful it drudg wrote errors/warnings to stderr instead of stdout. This would make it possible to see when there is a problem when it is run by fesh or other script that redirects stdout.

Setting the exit code to indicate that a processing error occurred would also be useful so a script can abort further processing if there was an error.

Some care may be needed to separate errors and serious warnings from less serious warnings and informational messages to make sure the stderr output is succinct and only for serious issues, i.e., when the processing is broken.

@wehimwich wehimwich added enhancement New feature or request drudg drudg specific labels Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drudg drudg specific enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant