fix dormant bug in Mailbox’s error logging

- actor.actor could potentially be null after a failed restart attempt
- fix one case of baroqueness in FaultHandling.scala
This commit is contained in:
Roland 2012-01-17 14:07:20 +01:00
parent e28f284c3c
commit e81791cbb6
2 changed files with 5 additions and 5 deletions

View file

@ -214,7 +214,7 @@ private[akka] abstract class Mailbox(val actor: ActorCell) extends MessageQueue
}
} catch {
case e
actor.system.eventStream.publish(Error(e, actor.self.path.toString, actor.actor.getClass, "exception during processing system messages, dropping " + SystemMessage.size(nextMessage) + " messages!"))
actor.system.eventStream.publish(Error(e, actor.self.path.toString, this.getClass, "exception during processing system messages, dropping " + SystemMessage.size(nextMessage) + " messages!"))
throw e
}
}