Closed britter closed 8 years ago
What does the actor system do when it receives an unknown message?
They will be published to the system's event stream. You can enable debug logging of handled messages by setting the akka.actor.debug.unhandled
configuration setting to ON
Can we provide this as a default configuration? I'd hate to swallow such errors.
Sure!
LGTM. Feel free to merge! :)
Akka's default behavior for unhandled messages is to send a
akka.actor.UnhandledMessage
to the actor system's global event stream. By handling even the unknown messages in our actor implementations, we're breaking this fall back.This PR changes the implemenation of all receive methods to ignore unknown messages so that they can be handled by the actor system instead.