Update examples eprintln to more accurately reflect error
This commit is contained in:
parent
c05d2916b1
commit
c72bafd8ab
5 changed files with 7 additions and 7 deletions
|
|
@ -53,7 +53,7 @@ fn main() -> Result<(), failure::Error> {
|
|||
let data = match result {
|
||||
Ok(data) => data,
|
||||
Err(err) => {
|
||||
eprintln!("stream {:?} closed due to an error: {}", id, err);
|
||||
eprintln!("an error occurred on stream {:?}: {}", id, err);
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue