improve error message

This commit is contained in:
Simon Gardling 2022-04-11 09:15:49 -04:00
parent d577d2f073
commit 061f5cfbd4

View File

@ -111,7 +111,7 @@ lazy_static::lazy_static! {
} else if path_string == "text.json" {
text_data = Some(SerdeValueHelper::new(str::from_utf8(&data).expect("unable to read text.json")).parse_values());
} else {
panic!("Other file {} not expected!", path_string);
panic!("File {} not expected!", path_string);
}
}