mirror of https://github.com/m-labs/artiq.git
firmware: add missing try!.
This commit is contained in:
parent
9e92706d09
commit
24ce9a057b
|
@ -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()
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue