提交 52c0af07 authored 作者: mooncake's avatar mooncake

update

上级 1ab6fb03
......@@ -414,6 +414,10 @@ func (x *Request) pushDo(ctx context.Context) {
}
}
}
if rsp.StatusCode != http.StatusOK {
x.err = xerror.Newf("[%d]%s", rsp.StatusCode, rsp.Status)
return
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论