aquatic_ws: add more anyhow error context annotations

This commit is contained in:
Joakim Frostegård 2020-05-23 17:15:11 +02:00
parent 65684472a6
commit b9ee290ca0
4 changed files with 19 additions and 12 deletions

View file

@ -42,7 +42,7 @@ pub fn run_socket_worker(
},
Err(err) => {
socket_worker_statuses.lock()[socket_worker_index] = Some(
Err(format!("Couldn't create TCP listener: {}", err))
Err(format!("Couldn't open socket: {:#}", err))
);
}
}