Skip to content

Commit

Permalink
add log on stats failure
Browse files Browse the repository at this point in the history
  • Loading branch information
iSchluff committed Jun 11, 2024
1 parent d93a3e7 commit 2f1b9f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions srt/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ func (s *ServerImpl) GetSocketStatistics() []*SocketStatistics {
for conn := range s.conns {
srtStats, err := conn.socket.Stats()
if err != nil {
log.Printf("%s - error getting stats %s\n", conn.address, err)
continue
}
statistics = append(statistics, &SocketStatistics{
Expand Down

0 comments on commit 2f1b9f7

Please sign in to comment.