Commit 5a47d7e
committed
agents: fix crash in StatsDAgent
With some specific udp send errors, it's not possible to retrieve the
peername. Handle this case to avoid crashes.
Fixes: #31
PR-URL: #32
Reviewed-by: Trevor Norris <[email protected]>1 parent b2c1bb3 commit 5a47d7e
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
269 | | - | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
270 | 274 | | |
271 | 275 | | |
272 | 276 | | |
| |||
0 commit comments