He-Pin commented on code in PR #1399: URL: https://github.com/apache/pekko/pull/1399#discussion_r1682255352
########## actor/src/main/scala/org/apache/pekko/actor/ActorCell.scala: ########## @@ -661,8 +661,7 @@ private[pekko] class ActorCell( Thread.currentThread().interrupt() throw ActorInitializationException(self, "interruption during creation", e) case NonFatal(e) => - if (actor == null) setFailed(system.deadLetters) - else setFailed(actor.self) + if (actor != null) setFailed(actor.self) Review Comment: Use ne A test is needed too -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org