runtime: improve moninj aux error logging

pull/1212/head
Sebastien Bourdeauducq 2018-09-15 10:44:41 +08:00
parent 20ed393c1e
commit 2f010e0109
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ mod remote_moninj {
}
match drtioaux::recv_timeout(linkno, None) {
Ok(drtioaux::Packet::MonitorReply { value }) => return value,
Ok(_) => error!("received unexpected aux packet"),
Ok(packet) => error!("received unexpected aux packet: {:?}", packet),
Err(e) => error!("aux packet error ({})", e)
}
0
@ -100,7 +100,7 @@ mod remote_moninj {
}
match drtioaux::recv_timeout(linkno, None) {
Ok(drtioaux::Packet::InjectionStatusReply { value }) => return value,
Ok(_) => error!("received unexpected aux packet"),
Ok(packet) => error!("received unexpected aux packet: {:?}", packet),
Err(e) => error!("aux packet error ({})", e)
}
0