Skip to content

Commit

Permalink
Add basic parsing error management
Browse files Browse the repository at this point in the history
Entry::new() now returns a Result<Entry, ParsingError> and no longer crashes
when it is unable to successfully parse a log line.

Fixes #5
  • Loading branch information
philn authored and gdesmott committed Jul 16, 2019
1 parent 729429d commit e402f3d
Show file tree
Hide file tree
Showing 3 changed files with 324 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ itertools = "0.8"
gstreamer = "0.13"
regex = "1.1"
lazy_static = "1.3"
failure = "0.1.5"

[[example]]
name = "dump"
Expand All @@ -38,4 +39,3 @@ structopt = "0.2"
structopt-derive = "0.2"
colored = "1.8"
gnuplot = "0.0.31"
failure = "0.1.5"
Loading

0 comments on commit e402f3d

Please sign in to comment.