diff --git a/installer/src/util.rs b/installer/src/util.rs index 0dc332f..2551751 100644 --- a/installer/src/util.rs +++ b/installer/src/util.rs @@ -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()) }