mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
improve some error messages
This commit is contained in:
parent
00e3cd55fd
commit
94505ae6c5
1 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ fn xmain() -> ! {
|
|||
info!("deterministic timeout done");
|
||||
response = api::Return::Failure
|
||||
}
|
||||
buffer.replace(response).unwrap();
|
||||
buffer.replace(response).expect("Register can't serialize return value");
|
||||
}
|
||||
Some(api::Opcode::Lookup) => {
|
||||
let mem = msg.body.memory_message_mut().unwrap();
|
||||
|
|
@ -152,7 +152,7 @@ fn xmain() -> ! {
|
|||
};
|
||||
response = api::Return::AuthenticateRequest(auth_request) // this code just exists to exercise the return path
|
||||
}
|
||||
buffer.replace(response).unwrap();
|
||||
buffer.replace(response).expect("Lookup can't serialize return value");
|
||||
}
|
||||
Some(api::Opcode::AuthenticatedLookup) => {
|
||||
let mem = msg.body.memory_message_mut().unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue