2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

runtime: show a more informative message for interrupted sessions.

Fixes #690.
This commit is contained in:
whitequark 2017-03-29 03:36:49 +00:00
parent 948ed6fb0a
commit d04d7ed120

View File

@ -698,6 +698,8 @@ pub fn thread(io: Io) {
Err(err) => {
if err.kind() == io::ErrorKind::UnexpectedEof {
info!("connection closed");
} else if err.kind() == io::ErrorKind::Interrupted {
info!("kernel interrupted");
} else {
congress.finished_cleanly.set(false);
error!("session aborted: {}", err);