Commit 5aa46d6
authored
exp backoff fails when datagatherers have no error (#190)
The error formatting would run even with a nil error
leading to a seg fault.
This now only runs if an error is present.
The return has also been corrected to stop the exp-backoff
always running
Signed-off-by: Jamie Leppard <[email protected]>
Co-authored-by: Jamie Leppard <[email protected]>1 parent 653159c commit 5aa46d6
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
246 | 251 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 252 | | |
251 | | - | |
| 253 | + | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| |||
0 commit comments