File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
bus/EasyCaching.Bus.RabbitMQStream
sample/EasyCaching.Demo.Locks/Controllers Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public class DefaultRabbitMQStreamBus : EasyCachingAbstractBus
6262 /// <param name="objectPolicy">Object policy.</param>
6363 /// <param name="rabbitMQOptions">RabbitMQ Options.</param>
6464 /// <param name="serializer">Serializer.</param>
65+ /// <param name="logger">Logger.</param>
6566 public DefaultRabbitMQStreamBus (
6667 IPooledObjectPolicy < IModel > objectPolicy
6768 , IOptions < RabbitMQBusOptions > rabbitMQOptions
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public async Task DistributedLockingOperation(int millisecondsTimeout)
3030 catch ( Exception ex )
3131 {
3232 // log error
33- throw ;
33+ throw new Exception ( "Exception" , ex ) ;
3434 }
3535 finally
3636 {
@@ -59,7 +59,7 @@ public async Task MemoryLockingOperation(int millisecondsTimeout)
5959 catch ( Exception ex )
6060 {
6161 // log error
62- throw ;
62+ throw new Exception ( "Exception" , ex ) ;
6363 }
6464 finally
6565 {
You can’t perform that action at this time.
0 commit comments