Merge branch 'update-services-net-6' of https://github.com/sughosneo/eShopOnContainers into update-services-net-6
This commit is contained in:
commit
9e5e41ab61
@ -126,10 +126,10 @@ public class EventBusServiceBus : IEventBus
|
|||||||
await _serviceBusPersisterConnection.SubscriptionClient.CompleteAsync(message.SystemProperties.LockToken);
|
await _serviceBusPersisterConnection.SubscriptionClient.CompleteAsync(message.SystemProperties.LockToken);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
new MessageHandlerOptions(ExceptionReceivedHandler) { MaxConcurrentCalls = 10, AutoComplete = false });
|
new MessageHandlerOptions(ExceptionReceivedHandlerAsync) { MaxConcurrentCalls = 10, AutoComplete = false });
|
||||||
}
|
}
|
||||||
|
|
||||||
private Task ExceptionReceivedHandler(ExceptionReceivedEventArgs exceptionReceivedEventArgs)
|
private Task ExceptionReceivedHandlerAsync(ExceptionReceivedEventArgs exceptionReceivedEventArgs)
|
||||||
{
|
{
|
||||||
var ex = exceptionReceivedEventArgs.Exception;
|
var ex = exceptionReceivedEventArgs.Exception;
|
||||||
var context = exceptionReceivedEventArgs.ExceptionReceivedContext;
|
var context = exceptionReceivedEventArgs.ExceptionReceivedContext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user