Skip to content

Conversation

Aaronontheweb
Copy link
Member

close #3267

Added reproduction spec to verify

@@ -257,9 +256,12 @@ protected override bool Receive(object message)

private static Debug ToDebug(UnhandledMessage message)
{
// avoid NREs when we have ActorRefs.NoSender
var sender = Equals(message.Sender, ActorRefs.NoSender) ? "NoSender" : message.Sender.Path.ToString();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good alternative.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did something similar for DeadLetter logging - figured repurposing that was the way to go

@Danthar Danthar merged commit 7afc8a9 into akkadotnet:dev May 23, 2018
@Aaronontheweb Aaronontheweb deleted the fix-3267-unhandled-message-NRE branch May 23, 2018 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnhandledMessageForwarder crashes and restarted every time the app is starting
2 participants