From b72712faa2bf1cd2c888f20ae03a3ad423b822fd Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 22 Feb 2026 17:55:52 +0100 Subject: [PATCH] error case --- installer/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }