Log number with buffer error

This commit is contained in:
Jcodefox 2023-12-01 10:02:56 -05:00
parent cb66c07a5f
commit 6f061153e6
2 changed files with 6 additions and 1 deletions

View file

@ -92,7 +92,9 @@ pub fn handler(vm: &mut Vm) {
msg_vec, buffer_id msg_vec, buffer_id
); );
} }
None => log::error!("Access of non-existent buffer") None => {
log::error!("Access of non-existent buffer {}", buffer_id)
}
} }
drop(buffs); drop(buffs);
} }

View file

@ -8,6 +8,9 @@ fn main(){
std::Trace("Trace Deez"); std::Trace("Trace Deez");
std::ipc_send(2, 0, 0); std::ipc_send(2, 0, 0);
std::ipc_make_bound_buffer(64);
std::ipc_send(3, 0, 0); std::ipc_send(3, 0, 0);
tx(); tx();