Skip to content

Commit

Permalink
Merge pull request #2280 from benesch/index-import-panic
Browse files Browse the repository at this point in the history
dataflow: improve panic error message when index import is missing
  • Loading branch information
benesch committed Mar 11, 2020
2 parents dc42a66 + 120f1cb commit 349e6c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dataflow/render/mod.rs
Expand Up @@ -311,7 +311,10 @@ pub(crate) fn build_dataflow<A: Allocate>(
context.set_trace(&get_expr, &index_desc.keys, arranged);
index_tokens.insert(id, Rc::new((button.press_on_drop(), token)));
} else {
panic!("Index import alarmingly absent!")
panic!(
"import of index {} failed while building dataflow {}",
id, first_export_id
);
}
}

Expand Down

0 comments on commit 349e6c8

Please sign in to comment.