diff --git a/core/tauri/src/error.rs b/core/tauri/src/error.rs index 974d0d218..6e4666673 100644 --- a/core/tauri/src/error.rs +++ b/core/tauri/src/error.rs @@ -54,6 +54,7 @@ pub enum Error { #[error("error encountered during setup hood: {0}")] Setup(#[from] Box), /// Tauri updater error. + #[cfg(feature = "updater")] #[error("Updater: {0}")] TauriUpdater(#[from] crate::updater::Error), }