diff --git a/src/main.rs b/src/main.rs index 88116e9..a700a19 100644 --- a/src/main.rs +++ b/src/main.rs @@ -124,7 +124,7 @@ fn load_dom(input:&mut R)->AResult{ b"lox "=>return rbx_xml::from_reader(input,rbx_xml::DecodeOptions::default()).map_err(anyhow::Error::msg), other=>Err(anyhow::Error::msg(format!("Unknown Roblox file type {:?}",other))), } - } + }, _=>Err(anyhow::Error::msg("unsupported file type")), } }else{