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:
parent
9e92706d09
commit
24ce9a057b
@ -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()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user