parent
62469e2acf
commit
a28dfe8f79
|
@ -429,7 +429,7 @@ func (s *FluxQueryService) Query(ctx context.Context, r *query.Request) (flux.Re
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if err := CheckError(resp); err != nil {
|
||||
if err := CheckError(resp, true); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ func (c *Controller) Query(ctx context.Context, req *query.Request) (flux.Query,
|
|||
// or other problem that the client must fix.
|
||||
return q, &platform.Error{
|
||||
Code: platform.EInvalid,
|
||||
Err: err,
|
||||
Msg: err.Error(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue