better debug messages
This commit is contained in:
parent
b1c78e4ccb
commit
ea6243ec12
|
@ -167,7 +167,7 @@ pub fn handle_send_messages(
|
|||
&& branch.choice == event.text)
|
||||
.collect();
|
||||
if branches.len() != 1 {
|
||||
error!("Expected 1 branch with ID '{}' and label '{}', but got {}! Aborting conversation.", chat.id, chat.label, branches.len());
|
||||
error!("Expected 1 branch with ID '{}', label '{}', choice '{}', but got {}! Aborting conversation.", event.conv_id, event.conv_label, event.text, branches.len());
|
||||
continue;
|
||||
}
|
||||
let branch = branches[0];
|
||||
|
|
Loading…
Reference in a new issue