log any stream close error
This commit is contained in:
parent
5488904404
commit
c68984eccc
@ -113,7 +113,9 @@ func stream() {
|
||||
return
|
||||
}
|
||||
|
||||
stream.Close()
|
||||
if err := stream.Close(); err != nil {
|
||||
fmt.Println("stream close err:", err)
|
||||
}
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user