Include configuration name in log when cluster not actor provider

This commit is contained in:
Christopher Batey 2018-11-16 15:58:02 +00:00
parent f872115512
commit c8013d54f3

View file

@ -72,7 +72,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
case c: ClusterActorRefProvider
UniqueAddress(c.transport.defaultAddress, AddressUidExtension(system).longAddressUid)
case other throw new ConfigurationException(
s"ActorSystem [${system}] needs to have a 'ClusterActorRefProvider' enabled in the configuration, currently uses [${other.getClass.getName}]")
s"ActorSystem [${system}] needs to have 'akka.actor.provider' set to 'cluster' in the configuration, currently uses [${other.getClass.getName}]")
}
/**