Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Runtime.ExceptionServices;
using Cnblogs.Architecture.Ddd.Domain.Abstractions;

// ReSharper disable once CheckNamespace
Expand Down Expand Up @@ -30,7 +31,7 @@ public static async Task DispatchDomainEventsAsync(this IMediator mediator, IEnu

if (e is not null)
{
throw e;
ExceptionDispatchInfo.Capture(e).Throw();
}
}
}