From c8013d54f3249b54d7b5cc08dd0c1890eecbdc57 Mon Sep 17 00:00:00 2001 From: Christopher Batey Date: Fri, 16 Nov 2018 15:58:02 +0000 Subject: [PATCH] Include configuration name in log when cluster not actor provider --- akka-cluster/src/main/scala/akka/cluster/Cluster.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-cluster/src/main/scala/akka/cluster/Cluster.scala b/akka-cluster/src/main/scala/akka/cluster/Cluster.scala index 8646f45b4f..8a82143269 100644 --- a/akka-cluster/src/main/scala/akka/cluster/Cluster.scala +++ b/akka-cluster/src/main/scala/akka/cluster/Cluster.scala @@ -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}]") } /**