fix(http): make query service look for platform.Error in response (#2027)
parent
f9af1e6631
commit
86b10a75c9
|
|
@ -171,7 +171,7 @@ func (s *QueryService) Query(ctx context.Context, req *query.Request) (flux.Resu
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := CheckError(resp); err != nil {
|
||||
if err := CheckError(resp, true); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue