Add better panic messages where relevant

This commit is contained in:
Rahix 2025-12-09 16:18:48 +01:00
parent d10b164b61
commit 83a610134c
2 changed files with 9 additions and 4 deletions

View file

@ -145,7 +145,7 @@ async fn run() -> anyhow::Result<()> {
}
'issues: for issue in tree.iter_issues() {
let subtree = tree.subtree_for_issue(issue).expect("TODO");
let subtree = tree.subtree_for_issue(issue).expect("issue from tree not found in tree");
let hash = subtree.stable_hash();
let (bot_comment, _is_new) = issue::find_or_make_bot_comment(&ctx, issue)