Commit caf3261
authored
[Core AMQP] - Fix debug log output for Retries (Azure#12666)
## What
- Add the operationType format specifier for debug logs
## Why
The mismatch between the number of format specifiers and the variables
passed in causes `NaN` to show up in the debug output.
Before:
```
azure:core-amqp:verbose [connection-1] Attempt number: NaN 1
...
azure:core-amqp:verbose [connection-1] Success for 'sendMessage', after attempt number: 1.
```
After:
```
azure:core-amqp:verbose [connection-1] Attempt number for 'sendMessage': 1.
...
azure:core-amqp:verbose [connection-1] Success for 'sendMessage', after attempt number: 1.
```
Fixes Azure#117981 parent e1a368a commit caf3261
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
0 commit comments