diff options
author | Till Hoeppner | 2015-07-28 00:35:57 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-07-28 00:35:57 +0200 |
commit | 01703f2dcd807f58c03a83bf1d3fa52e8023a0ad (patch) | |
tree | 8d6b48c48481ce6b824b517fd29182494e61a709 /src/main.rs | |
parent | 2b5c034f133fe55aaf9e5d69c98cafcfee139a11 (diff) | |
download | ilc-01703f2dcd807f58c03a83bf1d3fa52e8023a0ad.tar.gz ilc-01703f2dcd807f58c03a83bf1d3fa52e8023a0ad.tar.xz ilc-01703f2dcd807f58c03a83bf1d3fa52e8023a0ad.zip |
Improved error reporting
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 81cfbd9..aa39b69 100644 --- a/src/main.rs +++ b/src/main.rs @@ -208,7 +208,7 @@ fn main() { for e in decoder.decode_box(&context, &mut input) { let m = match e { Ok(m) => m, - Err(err) => panic!(err) + Err(err) => error(Box::new(err)) }; match m { |