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

Disable printing on stderr? #50

Closed
dpc opened this issue Aug 6, 2015 · 2 comments
Closed

Disable printing on stderr? #50

dpc opened this issue Aug 6, 2015 · 2 comments

Comments

@dpc
Copy link

dpc commented Aug 6, 2015

n mioco we want to handle panics gracefully (eg. in tests), yet coroutine-rs is printing things on stderr unconditionally.

The offending line is:

let _ = writeln!(&mut stderr(), "Coroutine '{}' panicked at '{}'", name, msg);

Would be OK, to remove this behavior?

@zonyitoo
Copy link
Contributor

zonyitoo commented Aug 6, 2015

Hmm, Ok. Please wait.

@zonyitoo
Copy link
Contributor

zonyitoo commented Aug 6, 2015

#51 Is this what you want?

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

2 participants