Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget (#875)
See #859
This commit is contained in:
@@ -1244,7 +1244,10 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void fireAndForget() {
|
public void fireAndForget() {
|
||||||
connectWithIndication();
|
connectWithIndication().exceptionally((ex) -> {
|
||||||
|
logger.error("Exception while connecting with indication", ex);
|
||||||
|
return null;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user