|
|
@ -191,7 +191,16 @@ namespace Volo.Abp.RabbitMQ |
|
|
} |
|
|
} |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
Channel.BasicNack(basicDeliverEventArgs.DeliveryTag, multiple: false, requeue: true); |
|
|
try |
|
|
|
|
|
{ |
|
|
|
|
|
Channel.BasicNack( |
|
|
|
|
|
basicDeliverEventArgs.DeliveryTag, |
|
|
|
|
|
multiple: false, |
|
|
|
|
|
requeue: true |
|
|
|
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
catch { } |
|
|
|
|
|
|
|
|
Logger.LogException(ex); |
|
|
Logger.LogException(ex); |
|
|
await ExceptionNotifier.NotifyAsync(ex); |
|
|
await ExceptionNotifier.NotifyAsync(ex); |
|
|
} |
|
|
} |
|
|
|