Some polish on the error handling. See #1310

This commit is contained in:
Patrik Nordwall 2012-02-01 14:40:12 +01:00
parent f13b5356f7
commit c447f46224
15 changed files with 101 additions and 113 deletions

View file

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