From 24ce9a057b60af1c630ec13a746f4ed6dd22ffe8 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 27 Jan 2017 13:10:09 +0000 Subject: [PATCH] firmware: add missing try!. --- artiq/firmware/runtime/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } },