mirror of https://bitbucket.org/ausocean/av.git
Making send to http more robust
This commit is contained in:
parent
7f15e2e6d2
commit
99ad40ba2f
|
@ -343,6 +343,8 @@ func (r *revidInst)sendClipToHTTP(clip []byte, output string) error {
|
|||
body, err := ioutil.ReadAll(resp.Body)
|
||||
if err == nil {
|
||||
fmt.Printf("%s\n", body)
|
||||
} else {
|
||||
r.ErrOut(err.Error())
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue