File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/hyperion/src/ingress Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -485,8 +485,8 @@ impl Module for IngressModule {
485485
486486 match login_state {
487487 PacketState :: Handshake => {
488- if process_handshake ( & mut login_state, & frame) . is_err ( ) {
489- error ! ( "failed to process handshake" ) ;
488+ if let Err ( e ) = process_handshake ( & mut login_state, & frame) {
489+ error ! ( "failed to process handshake packet: {e} " ) ;
490490 compose. io_buf ( ) . shutdown ( io_ref, & world) ;
491491 break ;
492492 }
@@ -516,7 +516,7 @@ impl Module for IngressModule {
516516 system,
517517 ign_map,
518518 ) {
519- error ! ( "failed to process login packet" ) ;
519+ error ! ( "failed to process login packet: {e} " ) ;
520520 let msg = format ! (
521521 "§c§lFailed to process login packet:§r\n \n §4{e}§r\n \n §eAre \
522522 you on the right version of Minecraft?§r\n §b(Required: \
You can’t perform that action at this time.
0 commit comments