diff --git a/crates/odin-daemon/src/main.rs b/crates/odin-daemon/src/main.rs index d900df8..d7d5c39 100644 --- a/crates/odin-daemon/src/main.rs +++ b/crates/odin-daemon/src/main.rs @@ -627,10 +627,7 @@ impl RuntimeState { /// failure of Odin's own authority, marked for the fatal rule in `survive`, /// whatever error it wraps. fn own_projection_failure(error: anyhow::Error) -> anyhow::Error { - if error - .chain() - .any(|cause| cause.is::()) - { + if error.downcast_ref::().is_some() { return error; } error.context(PresenceAuthorityRefused(