From 1753daa5a0b52cfe222156124843ff33f093b8f4 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 5 Aug 2022 22:13:25 +0300 Subject: [PATCH] cli/status: use eprintln instead of panic --- src/cli/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/status.rs b/src/cli/status.rs index 913503b..3001b28 100644 --- a/src/cli/status.rs +++ b/src/cli/status.rs @@ -3,7 +3,7 @@ use crate::CurrentTaskInfo; pub fn execute(current_task_info: Option) { match current_task_info { None => { - panic!("You don't have an active task."); + eprintln!("You don't have an active task."); } Some(info) => { println!("Information about your current task:");