2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 00:16:29 +08:00

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) } { match unsafe { kern_load(io, session, &kernel) } {
Ok(()) => host_write(stream, host::Reply::LoadCompleted), Ok(()) => host_write(stream, host::Reply::LoadCompleted),
Err(error) => { Err(error) => {
host_write(stream, host::Reply::LoadFailed(error.description())); try!(host_write(stream, host::Reply::LoadFailed(error.description())));
kern_acknowledge() kern_acknowledge()
} }
}, },