fix: Error message handling when FAIL

This commit is contained in:
LIAUD Corentin
2024-07-15 10:33:51 +02:00
parent f46c996095
commit c6ffa2ff6b

View File

@@ -88,7 +88,7 @@ impl AdbTcpConnection {
match AdbRequestStatus::from_str(str::from_utf8(request_status.as_ref())?)? {
AdbRequestStatus::Fail => {
// We can keep reading to get further details
let length = self.get_body_length()?;
let length = self.get_hex_body_length()?;
let mut body = vec![
0;