Add unknown protocol error

This commit is contained in:
KernelErr 2021-11-01 15:32:08 +08:00
parent 8a96de9666
commit fc7a3038bd
2 changed files with 6 additions and 2 deletions

View File

@ -89,7 +89,9 @@ async fn process(
debug!("Bytes read: {:?} write: {:?}", bytes_tx, bytes_rx);
}
_ => {}
_ => {
error!("Reached unknown protocol: {:?}", custom.protocol);
}
}
}
};

View File

@ -108,7 +108,9 @@ async fn process(
debug!("Bytes read: {:?} write: {:?}", bytes_tx, bytes_rx);
}
_ => {}
_ => {
error!("Reached unknown protocol: {:?}", custom.protocol);
}
}
}
};