forked from M-Labs/artiq
1
0
Fork 0

firmware: add missing try!.

This commit is contained in:
whitequark 2017-01-27 13:10:09 +00:00
parent 9e92706d09
commit 24ce9a057b
1 changed files with 1 additions and 1 deletions

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()
}
},