diff --git a/nebari/src/roots.rs b/nebari/src/roots.rs index a924f12c7b..c5d0812fb6 100644 --- a/nebari/src/roots.rs +++ b/nebari/src/roots.rs @@ -1576,7 +1576,7 @@ impl AbortError { #[must_use] pub fn infallible(self) -> Error { match self { - AbortError::Other(_) => unreachable!(), + AbortError::Other(infallible) => match infallible {}, AbortError::Nebari(error) => error, } }