chore: remove error print

This commit is contained in:
Stefan Martinov 2020-03-27 21:10:44 +01:00
parent 3e8dbee6e1
commit 1cc04aea5e

View File

@ -88,7 +88,6 @@ func Reply(response []interface{}, stats *CallStats, r *http.Request, w http.Res
writer.Header().Set("Content-Type", clientHandle.contentType)
if errEncode := codec.NewEncoder(writer, clientHandle.handle).Encode(response); errEncode != nil {
fmt.Println(errEncode)
http.Error(w, "could not encode data to accepted format", http.StatusInternalServerError)
return
}