Some polish on the error handling. See #1310
This commit is contained in:
parent
f13b5356f7
commit
c447f46224
15 changed files with 101 additions and 113 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue