-
-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Description
Description
protoactor-dotnet/src/Proto.Actor/Context/DeadlineContextDecorator.cs
Lines 50 to 57 in 173ee91
| public override async Task Receive(MessageEnvelope envelope) | |
| { | |
| var receiveTask = base.Receive(envelope); | |
| if (receiveTask.IsCompleted) | |
| { | |
| return; | |
| } |
If the task returned by base.Receive(envelope) throws an exception synchronously (i.e. immediately, not awaiting anything, e.g. Task.FromException(ex)), then the code above just ignores the exception and returns.
Expected Behavior
The exception should be propagated up to the call stack.
Metadata
Metadata
Assignees
Labels
No labels