Error monitor should emit error to stderr instead of stdout
This commit is contained in:
parent
9d4d0da7af
commit
4df0f3f6a6
1 changed files with 1 additions and 1 deletions
|
|
@ -1110,7 +1110,7 @@ pub fn monitor<F: FnOnce() + Send + 'static>(f: F) {
|
|||
errors::Level::Note);
|
||||
}
|
||||
|
||||
println!("{}", str::from_utf8(&data.lock().unwrap()).unwrap());
|
||||
writeln!(io::stderr(), "{}", str::from_utf8(&data.lock().unwrap()).unwrap()).unwrap();
|
||||
}
|
||||
|
||||
exit_on_err();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue