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

Replace println calls with writeln and handle errors correctly. #7

Open
alilleybrinker opened this issue Feb 8, 2023 · 0 comments
Open

Comments

@alilleybrinker
Copy link
Owner

println calls panic if it's unable to write to stdout, which makes it a less-pleasant citizen of the shell environment. Instead we ought to produce a useful error message on stderr and return an error code.

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