Odin: the projection-unreadable mark is found through anyhow context layers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5dd5b4a863
commit
dc46be205a
1 changed files with 1 additions and 4 deletions
|
|
@ -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::<ProjectionUnreadable>())
|
||||
{
|
||||
if error.downcast_ref::<ProjectionUnreadable>().is_some() {
|
||||
return error;
|
||||
}
|
||||
error.context(PresenceAuthorityRefused(
|
||||
|
|
|
|||
Loading…
Reference in a new issue