mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-02 10:19:59 -07:00
error case
This commit is contained in:
committed by
Will Greenberg
parent
05fdc0eee2
commit
b72712faa2
@@ -70,7 +70,7 @@ pub async fn telnet_send_command_with_output(
|
||||
let start = start + "RAYHUNTER_TELNET_COMMAND_START".len();
|
||||
string[start..end].trim_start_matches(['\r', '\n'])
|
||||
}
|
||||
_ => &string,
|
||||
_ => bail!("failed to parse command output from string: {string:?}"),
|
||||
};
|
||||
Ok(string.to_string())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user