mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws: log ConnectionWriter::send_error_response errors
This commit is contained in:
parent
724932a498
commit
e00dcaa5c3
1 changed files with 6 additions and 2 deletions
|
|
@ -353,8 +353,12 @@ impl ConnectionReader {
|
||||||
info_hash,
|
info_hash,
|
||||||
});
|
});
|
||||||
|
|
||||||
self.out_message_sender
|
if let Err(err) = self
|
||||||
.try_send((self.make_connection_meta(None), out_message));
|
.out_message_sender
|
||||||
|
.try_send((self.make_connection_meta(None), out_message))
|
||||||
|
{
|
||||||
|
::log::error!("ConnectionWriter::send_error_response failed: {:?}", err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn make_connection_meta(&self, pending_scrape_id: Option<PendingScrapeId>) -> ConnectionMeta {
|
fn make_connection_meta(&self, pending_scrape_id: Option<PendingScrapeId>) -> ConnectionMeta {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue