Skip to content

Commit

Permalink
Fix missing error behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kflansburg committed May 19, 2024
1 parent ed2fee0 commit 477a7ed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions worker/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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}"),
Expand Down

0 comments on commit 477a7ed

Please sign in to comment.