Skip to content

Commit

Permalink
Fix logging: arguments could be null (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pliner committed Nov 6, 2020
1 parent 1d6c8e7 commit ea3a50d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/EasyNetQ/RabbitAdvancedBus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public async Task QueueDeclarePassiveAsync(string name, CancellationToken cancel
isDurable,
isExclusive,
isAutoDelete,
arguments.Stringify()
arguments?.Stringify()
);
}

Expand Down Expand Up @@ -454,7 +454,7 @@ public async Task ExchangeDeclarePassiveAsync(string name, CancellationToken can
type,
isDurable,
isAutoDelete,
arguments.Stringify()
arguments?.Stringify()
);
}

Expand Down Expand Up @@ -499,7 +499,7 @@ public async Task<IBinding> BindAsync(IExchange exchange, IQueue queue, string r
queue.Name,
exchange.Name,
routingKey,
arguments.Stringify()
arguments?.Stringify()
);
}

Expand Down Expand Up @@ -527,7 +527,7 @@ public async Task<IBinding> BindAsync(IExchange source, IExchange destination, s
destination.Name,
source.Name,
routingKey,
arguments.Stringify()
arguments?.Stringify()
);
}

Expand Down

0 comments on commit ea3a50d

Please sign in to comment.