diff --git a/output_file.go b/output_file.go index a72feb7..6f026d2 100644 --- a/output_file.go +++ b/output_file.go @@ -246,7 +246,9 @@ func (o *FileOutput) flush() { if stat, err := o.file.Stat(); err == nil { o.chunkSize = int(stat.Size()) - } + } else { + log.Println("Error accessing file sats", err) + } } }