diff --git a/src/servers/src/error.rs b/src/servers/src/error.rs index 67bdb92cce42..375206d33707 100644 --- a/src/servers/src/error.rs +++ b/src/servers/src/error.rs @@ -417,13 +417,6 @@ pub enum Error { location: Location, }, - #[snafu(display("Unsupported gRPC compression encoding: {}", encoding))] - UnsupportedGrpcCompressionEncoding { - encoding: String, - #[snafu(implicit)] - location: Location, - }, - #[snafu(display("Failed to build HTTP response"))] BuildHttpResponse { #[snafu(source)] @@ -606,9 +599,7 @@ impl ErrorExt for Error { | Arrow { .. } | FileWatch { .. } => StatusCode::Internal, - UnsupportedDataType { .. } | UnsupportedGrpcCompressionEncoding { .. } => { - StatusCode::Unsupported - } + UnsupportedDataType { .. } => StatusCode::Unsupported, #[cfg(not(windows))] UpdateJemallocMetrics { .. } => StatusCode::Internal,