Skip to content

Commit

Permalink
bring back legacy err handling behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jan 23, 2024
1 parent dd80167 commit 83a1d39
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions crates/re_space_view_spatial/src/visualizers/entity_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ macro_rules! impl_process_archetype {
space_view_class_identifier: view_ctx.space_view_class_identifier(),
};

ctx.entity_db.query_caches().[<query_archetype_with_history_pov$N _comp$M>]::<A, $($pov,)+ $($comp,)* _>(
match ctx.entity_db.query_caches().[<query_archetype_with_history_pov$N _comp$M>]::<A, $($pov,)+ $($comp,)* _>(
ctx.app_options.experimental_primary_caching_latest_at,
ctx.app_options.experimental_primary_caching_range,
ctx.entity_db.store(),
Expand Down Expand Up @@ -212,7 +212,15 @@ macro_rules! impl_process_archetype {
);
}
}
)?;
) {
Ok(_) | Err(QueryError::PrimaryNotFound(_)) => {}
Err(err) => {
re_log::error_once!(
"Unexpected error querying {:?}: {err}",
&data_result.entity_path
);
}
}
}

Ok(())
Expand Down

0 comments on commit 83a1d39

Please sign in to comment.