Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 15:20:35 +01:00
Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget (#875)
See #859
Dieser Commit ist enthalten in:
Ursprung
7e9a25209c
Commit
b4e04204a9
@ -1244,7 +1244,10 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
||||
|
||||
@Override
|
||||
public void fireAndForget() {
|
||||
connectWithIndication();
|
||||
connectWithIndication().exceptionally((ex) -> {
|
||||
logger.error("Exception while connecting with indication", ex);
|
||||
return null;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren