diff --git a/artiq/firmware/runtime/session.rs b/artiq/firmware/runtime/session.rs index 41c3b837a..ce8316543 100644 --- a/artiq/firmware/runtime/session.rs +++ b/artiq/firmware/runtime/session.rs @@ -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() } },