Merge pull request #25939 from chbatey/cluster-provider-msg

Include configuration name in log when cluster not actor provider
This commit is contained in:
Patrik Nordwall 2018-11-18 18:38:46 +01:00 committed by GitHub
commit 2801180b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}]")
}
/**