mirror of https://github.com/abpframework/abp.git
2 changed files with 22 additions and 3 deletions
@ -0,0 +1,19 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace Volo.Abp.ExceptionHandling |
||||
|
{ |
||||
|
public class NullExceptionNotifier : IExceptionNotifier |
||||
|
{ |
||||
|
public static NullExceptionNotifier Instance { get; } = new NullExceptionNotifier(); |
||||
|
|
||||
|
private NullExceptionNotifier() |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public Task NotifyAsync(ExceptionNotificationContext context) |
||||
|
{ |
||||
|
return Task.CompletedTask; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue