Add more error handling

This commit is contained in:
Leonid Bugaev
2019-02-16 09:37:00 +01:00
parent 6f70a939f4
commit 264d8cf00e
+3 -1
View File
@@ -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)
}
}
}