mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #1911 from diffoperator/issue_1903
rafthttp: fixes issue 1903
This commit is contained in:
commit
f2863e5279
@ -303,7 +303,7 @@ func (s *sender) post(data []byte) error {
|
||||
case http.StatusNoContent:
|
||||
return nil
|
||||
default:
|
||||
return fmt.Errorf("unhandled status %s", http.StatusText(resp.StatusCode))
|
||||
return fmt.Errorf("unexpected http status %s while posting to %q", http.StatusText(resp.StatusCode), req.URL.String())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user