Second stab at revised error handling. See #1310
This commit is contained in:
parent
4c2a44ec7a
commit
f13b5356f7
9 changed files with 152 additions and 50 deletions
|
|
@ -197,7 +197,7 @@ private[akka] abstract class Mailbox(val actor: ActorCell) extends MessageQueue
|
|||
if (nextMessage eq null) nextMessage = systemDrain()
|
||||
}
|
||||
} catch {
|
||||
case e ⇒
|
||||
case NonFatal(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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue