From 4c204800847ad5b192e76f1340fb80ff6544deac Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Wed, 20 Apr 2022 22:41:46 +0200 Subject: [PATCH] add duration calculation error logging --- app/duration/duration.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/duration/duration.go b/app/duration/duration.go index a50e5898..6fb98987 100644 --- a/app/duration/duration.go +++ b/app/duration/duration.go @@ -33,6 +33,7 @@ func (s *Service) Reader(r io.Reader) int { var err error for err == nil { + log.Printf("[WARN] can't get duration for provided stream: %v", err) if err = d.Decode(&f, &skipped); err != nil && err != io.EOF { return 0 }