From 6381c99727aa4cdc5de6d61310373281c2faaf72 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 7 Jun 2021 00:41:50 +0300 Subject: [PATCH] chore: use panic instead eprint --- migra_cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migra_cli/src/main.rs b/migra_cli/src/main.rs index 78dbad5..99f9d71 100644 --- a/migra_cli/src/main.rs +++ b/migra_cli/src/main.rs @@ -27,6 +27,6 @@ fn main() { dotenv::dotenv().ok(); if let Err(err) = App::new(AppOpt::from_args()).run_command() { - eprintln!("Error: {}", err); + panic!("Error: {}", err); } }