Merge pull request #25939 from chbatey/cluster-provider-msg
Include configuration name in log when cluster not actor provider
This commit is contained in:
commit
2801180b07
1 changed files with 1 additions and 1 deletions
|
|
@ -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}]")
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue