From ebe272212d87b9d5fa9f818a30cff48bf41af9e2 Mon Sep 17 00:00:00 2001 From: franciscolopezsancho Date: Fri, 14 Jun 2019 14:12:48 +0200 Subject: [PATCH] changing logging error as previous wasn't proper english (#27138) --- akka-actor/src/main/scala/akka/actor/ActorCell.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-actor/src/main/scala/akka/actor/ActorCell.scala b/akka-actor/src/main/scala/akka/actor/ActorCell.scala index 347af6b5e7..c0ae63e3bc 100644 --- a/akka-actor/src/main/scala/akka/actor/ActorCell.scala +++ b/akka-actor/src/main/scala/akka/actor/ActorCell.scala @@ -696,7 +696,7 @@ private[akka] class ActorCell( if (!Reflect.lookupAndSetField(actorInstance.getClass, actorInstance, "context", context) || !Reflect.lookupAndSetField(actorInstance.getClass, actorInstance, "self", self)) throw IllegalActorStateException( - actorInstance.getClass + " is not an Actor since it have not mixed in the 'Actor' trait") + s"${actorInstance.getClass} is not an Actor class. It doesn't extend the 'Actor' trait") } // logging is not the main purpose, and if it fails there’s nothing we can do