mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-11-30 04:40:47 +01:00
handle more truncateion
This commit is contained in:
parent
7f258930ef
commit
2cb43e1872
2 changed files with 18 additions and 12 deletions
|
|
@ -26,7 +26,7 @@ impl<'a> RawEvent<'a> {
|
|||
fn event_parser(input: &str) -> Result<RawEvent> {
|
||||
// println!("{}", input);
|
||||
if input.len() < 24 {
|
||||
return Err(Error::Skip);
|
||||
return Err(Error::Incomplete);
|
||||
}
|
||||
let date = RawDate(&input[0..21]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue