correct ActorSystem’s error message for invalid system name, see #2246
This commit is contained in:
parent
faff67c7fa
commit
0df105f8a1
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ private[akka] class ActorSystemImpl(val name: String, applicationConfig: Config,
|
|||
if (!name.matches("""^[a-zA-Z0-9][a-zA-Z0-9-]*$"""))
|
||||
throw new IllegalArgumentException(
|
||||
"invalid ActorSystem name [" + name +
|
||||
"], must contain only word characters (i.e. [a-zA-Z_0-9] plus non-leading '-')")
|
||||
"], must contain only word characters (i.e. [a-zA-Z0-9] plus non-leading '-')")
|
||||
|
||||
import ActorSystem._
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue