13
0
geforkt von Mirrors/Velocity

Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget (#875)

See #859
Dieser Commit ist enthalten in:
A248 2023-03-15 23:02:02 -04:00 committet von GitHub
Ursprung 7e9a25209c
Commit b4e04204a9
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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;
});
}
}
}