feat(socket): made server less crashable

This commit is contained in:
DJMrTV 2025-02-04 16:33:33 +01:00
commit d69d0a5f6b

View file

@ -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");
}
_ => unimplemented!("unimplemented packet type: {}", packet.header.types_and_flags.get_types())
_ => error!("unimplemented packet type: {}", packet.header.types_and_flags.get_types())
}
}
}