use miette's new panic hook

This commit is contained in:
Kat Marchán
2021-09-21 12:37:16 -07:00
parent 923330aadd
commit 32f39c2fb8
6 changed files with 80 additions and 6 deletions

View File

@ -13,6 +13,8 @@ use reedline::DefaultCompletionActionHandler;
mod tests;
fn main() -> Result<()> {
miette::set_panic_hook();
let engine_state = create_default_context();
if let Some(path) = std::env::args().nth(1) {