From 5ec6d873a726e430daa1c7ee11121e0fd7489ca7 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Tue, 17 May 2022 16:07:43 +0200 Subject: [PATCH] fix #1811 --- leo/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leo/main.rs b/leo/main.rs index 676084f013..9f2455819f 100644 --- a/leo/main.rs +++ b/leo/main.rs @@ -207,7 +207,7 @@ fn set_panic_hook() { fn main() { set_panic_hook(); - handle_error(create_session_if_not_set_then(|_| run_with_args(Opt::from_args()))); + create_session_if_not_set_then(|_| handle_error(run_with_args(Opt::from_args()))); } /// Run command with custom build arguments.