feat(socket): made server less crashable
This commit is contained in:
parent
81f7a0a738
commit
d69d0a5f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -432,7 +432,7 @@ impl SocketData {
|
||||||
self.socket.send_to(&vec, client_address.regular_socket_addr).await.expect("failed to send data back");
|
self.socket.send_to(&vec, client_address.regular_socket_addr).await.expect("failed to send data back");
|
||||||
self.socket.send_to(&vec, client_address.regular_socket_addr).await.expect("failed to send data back");
|
self.socket.send_to(&vec, client_address.regular_socket_addr).await.expect("failed to send data back");
|
||||||
}
|
}
|
||||||
_ => unimplemented!("unimplemented packet type: {}", packet.header.types_and_flags.get_types())
|
_ => error!("unimplemented packet type: {}", packet.header.types_and_flags.get_types())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue