From 477a7ed00535c56d5ab1463bb13ca91d808250ad Mon Sep 17 00:00:00 2001 From: Kevin Flansburg Date: Sun, 19 May 2024 09:31:45 -0400 Subject: [PATCH] Fix missing error behind feature flag --- worker/src/error.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/worker/src/error.rs b/worker/src/error.rs index b7287e8d..c032e2d5 100644 --- a/worker/src/error.rs +++ b/worker/src/error.rs @@ -18,7 +18,6 @@ pub enum Error { RouteNoDataError, RustError(String), SerdeJsonError(serde_json::Error), - #[cfg(feature = "queue")] SerdeWasmBindgenError(serde_wasm_bindgen::Error), #[cfg(feature = "http")] StatusCode(http::status::InvalidStatusCode), @@ -121,7 +120,6 @@ impl std::fmt::Display for Error { Error::RouteInsertError(e) => write!(f, "failed to insert route: {e}"), Error::RouteNoDataError => write!(f, "route has no corresponding shared data"), Error::SerdeJsonError(e) => write!(f, "Serde Error: {e}"), - #[cfg(feature = "queue")] Error::SerdeWasmBindgenError(e) => write!(f, "Serde Error: {e}"), #[cfg(feature = "http")] Error::StatusCode(e) => write!(f, "{e}"),