mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-26 19:22:25 +00:00
aquatic_ws: log ConnectionWriter::send_error_response errors
This commit is contained in:
1 parent
724932a498
commit
e00dcaa5c3
1 file changed
+6
-2
@@ -353,8 +353,12 @@ impl ConnectionReader {
|
||||
info_hash,
|
||||
});
|
||||
|
||||
self.out_message_sender
|
||||
.try_send((self.make_connection_meta(None), out_message));
|
||||
if let Err(err) = self
|
||||
.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 {
|
||||
|
||||
Reference in new issue
Block a user