summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-01-27 03:13:13 +0300
committerValentin Popov <info@valentineus.link>2019-01-27 03:13:13 +0300
commitf152443ba238af853715c2860801ffa353ac54a3 (patch)
treede00c45f1afbadd1191ce218f86dc57ef880d5c4
parent89f4a2bca82716ab75edc0ed83bad8ccc9159695 (diff)
downloadbbb2json-f152443ba238af853715c2860801ffa353ac54a3.tar.xz
bbb2json-f152443ba238af853715c2860801ffa353ac54a3.zip
Sun, 27 Jan 2019 04:13:13 +0400
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--src/parser.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/parser.rs b/src/parser.rs
index f23688a..0b477ce 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -37,10 +37,7 @@ pub fn parser(content: BufReader<File>) -> ParserResult {
}
}
}
- Err(error) => {
- dbg!(error);
- break;
- }
+ Err(error) => panic!(error),
_ => {}
}
}