firmware: add missing try!.

This commit is contained in:
whitequark 2017-01-27 13:10:09 +00:00
parent 9e92706d09
commit 24ce9a057b

View File

@ -263,7 +263,7 @@ fn process_host_message(io: &Io,
match unsafe { kern_load(io, session, &kernel) } {
Ok(()) => host_write(stream, host::Reply::LoadCompleted),
Err(error) => {
host_write(stream, host::Reply::LoadFailed(error.description()));
try!(host_write(stream, host::Reply::LoadFailed(error.description())));
kern_acknowledge()
}
},