Blockcore.EventBus.DefaultSubscriptionErrorHandler.Handle C# (CSharp) Method

Handle() public method

public Handle ( Blockcore.EventBus.EventBase @event, Exception exception, ISubscription subscription ) : void
@event Blockcore.EventBus.EventBase
exception Exception
subscription ISubscription
return void
        public void Handle(EventBase @event, Exception exception, ISubscription subscription)
        {
            this.logger.LogError(exception, "Error handling the event {0}", @event.GetType().Name);
            throw exception;
        }
    }
DefaultSubscriptionErrorHandler