Merge pull request #14268 from influxdata/invalid_compilation_500

fix(http): invalid compilation should not be 500 error
pull/14246/head^2
kelwang 2019-07-08 11:48:24 -04:00 committed by GitHub
commit 1294d0f982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -165,7 +165,6 @@ func (h *FluxHandler) handleQuery(w http.ResponseWriter, r *http.Request) {
if cw.Count() == 0 {
// Only record the error headers IFF nothing has been written to w.
err := &influxdb.Error{
Code: influxdb.EInternal,
Msg: "failed to execute query against proxy service",
Op: op,
Err: err,