mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
runtime: improve moninj aux error logging
This commit is contained in:
parent
20ed393c1e
commit
2f010e0109
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user