Improved error message when loading ServiceDiscovery impl
This commit is contained in:
parent
a6cc73b447
commit
09c0927ca6
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ final class Discovery(implicit system: ExtendedActorSystem) extends Extension {
|
|||
if (config.hasPath(path)) config.getString(path)
|
||||
else
|
||||
throw new IllegalArgumentException(
|
||||
s"$path must contain field `class` that is a FQN of a `akka.discovery.ServiceDiscovery` implementation")
|
||||
s"$path must point to a FQN of a `akka.discovery.ServiceDiscovery` implementation")
|
||||
|
||||
def create(clazzName: String): Try[ServiceDiscovery] = {
|
||||
dynamic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue