Skip to content

Commit 22d62b9

Browse files
committed
add warning for thing that should not happen
1 parent 32972bc commit 22d62b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

large-scale-viz/high_perf_character_render/src/bin/render_compact_runs.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ async fn run() -> Result<()> {
219219

220220
// Check if coord_index is in currently loaded chunk
221221
if coord_index < loaded_chunk_start || coord_index >= loaded_chunk_end {
222+
log::warn!(
223+
"coord index not loaded! this should not happen! coord index: {} loaded start: {} loaded end: {}",
224+
coord_index, loaded_chunk_start, loaded_chunk_end
225+
);
222226
continue; // Not in loaded chunk
223227
}
224228

0 commit comments

Comments
 (0)