|
|
@ -38,7 +38,7 @@ namespace Volo.Abp.RabbitMQ |
|
|
|
|
|
|
|
|
public RabbitMqMessageConsumer( |
|
|
public RabbitMqMessageConsumer( |
|
|
IConnectionPool connectionPool, |
|
|
IConnectionPool connectionPool, |
|
|
AbpTimer timer, |
|
|
AbpTimer timer, |
|
|
IExceptionNotifier exceptionNotifier) |
|
|
IExceptionNotifier exceptionNotifier) |
|
|
{ |
|
|
{ |
|
|
ConnectionPool = connectionPool; |
|
|
ConnectionPool = connectionPool; |
|
|
@ -119,7 +119,7 @@ namespace Volo.Abp.RabbitMQ |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
Logger.LogException(ex, LogLevel.Warning); |
|
|
Logger.LogException(ex, LogLevel.Warning); |
|
|
AsyncHelper.RunSync(() => ExceptionNotifier.NotifyAsync(ex, logLevel: LogLevel.Warning)); |
|
|
_ = ExceptionNotifier.NotifyAsync(ex, logLevel: LogLevel.Warning); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -186,7 +186,7 @@ namespace Volo.Abp.RabbitMQ |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
Logger.LogException(ex, LogLevel.Warning); |
|
|
Logger.LogException(ex, LogLevel.Warning); |
|
|
AsyncHelper.RunSync(() => ExceptionNotifier.NotifyAsync(ex, logLevel: LogLevel.Warning)); |
|
|
_ = ExceptionNotifier.NotifyAsync(ex, logLevel: LogLevel.Warning); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -204,7 +204,7 @@ namespace Volo.Abp.RabbitMQ |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
Logger.LogException(ex); |
|
|
Logger.LogException(ex); |
|
|
await ExceptionNotifier.NotifyAsync(ex); |
|
|
_ = ExceptionNotifier.NotifyAsync(ex); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -222,7 +222,7 @@ namespace Volo.Abp.RabbitMQ |
|
|
catch (Exception ex) |
|
|
catch (Exception ex) |
|
|
{ |
|
|
{ |
|
|
Logger.LogException(ex, LogLevel.Warning); |
|
|
Logger.LogException(ex, LogLevel.Warning); |
|
|
AsyncHelper.RunSync(() => ExceptionNotifier.NotifyAsync(ex, logLevel: LogLevel.Warning)); |
|
|
_ = ExceptionNotifier.NotifyAsync(ex, logLevel: LogLevel.Warning); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|