mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws: don't run log::error on closing closed connection
This commit is contained in:
parent
5845393fbb
commit
716228c1b1
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ impl Connection {
|
||||||
if let Either::Left(ref mut ews) = self.inner {
|
if let Either::Left(ref mut ews) = self.inner {
|
||||||
if ews.ws.can_read(){
|
if ews.ws.can_read(){
|
||||||
if let Err(err) = ews.ws.close(None){
|
if let Err(err) = ews.ws.close(None){
|
||||||
::log::error!("error closing ws: {}", err);
|
::log::info!("error closing ws: {}", err);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Required after ws.close()
|
// Required after ws.close()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue