log any stream close error

This commit is contained in:
Asim 2015-11-28 16:34:48 +00:00
parent 5488904404
commit c68984eccc

View File

@ -113,7 +113,9 @@ func stream() {
return
}
stream.Close()
if err := stream.Close(); err != nil {
fmt.Println("stream close err:", err)
}
}
func main() {