Exemple #1
0
 public Task Handle(ErroNotification notification, CancellationToken cancellationToken)
 {
     return(Task.Run(() =>
     {
         Console.WriteLine($"ERRO: '{notification.Excecao} \n {notification.PilhaErro}'");
     }));
 }
Exemple #2
0
 public Task Handle(ErroNotification notification, CancellationToken cancellationToken)
 {
     return(Task.Run(() =>
     {
         Console.WriteLine($"ERRO: '{notification.Message} \n {notification.StackTrace}'");
     }));
 }
Exemple #3
0
 public Task Handle(ErroNotification notification, CancellationToken cancellationToken)
 {
     return(Task.CompletedTask);
 }
 public Task Handle(ErroNotification notification, CancellationToken cancellationToken)
 {
     return(Task.Run(
                () => Console.WriteLine($"Erro ${notification.Excecao}")));
 }