diff options
| author | JJ <[email protected]> | 2022-06-13 11:34:31 -0400 |
|---|---|---|
| committer | JJ <[email protected]> | 2022-06-13 11:34:31 -0400 |
| commit | a32ace3c60721d1bae4ea77117ffd14a35b0f951 (patch) | |
| tree | 223491fac01200e49302b477e512b5f7ebccf2ae /networkQuality.go | |
| parent | c8f9b3337ee493ea1ac56d70a1a53ab9442121b9 (diff) | |
| parent | c93a4dedc897f84992a6a34200fe954ba2ca435d (diff) | |
Merge branch 'main' into timeout-patch
Diffstat (limited to 'networkQuality.go')
| -rw-r--r-- | networkQuality.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networkQuality.go b/networkQuality.go index 4a4911c..3ba783d 100644 --- a/networkQuality.go +++ b/networkQuality.go @@ -318,7 +318,9 @@ func main() { if !extendedstats.ExtendedStatsAvailable() { panic("Extended stats are not available but the user requested their calculation.") } - extendedStats.IncorporateConnectionStats(downloadSaturation.LGCs[i].Stats().ConnInfo.Conn) + if err := extendedStats.IncorporateConnectionStats(downloadSaturation.LGCs[i].Stats().ConnInfo.Conn); err != nil { + fmt.Fprintf(os.Stderr, "Warning: Could not add extended stats for the connection: %v", err) + } } } |
