cli/status: use eprintln instead of panic

This commit is contained in:
Dmitriy Pleshevskiy 2022-08-05 22:13:25 +03:00
parent f9d2761700
commit 1753daa5a0
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use crate::CurrentTaskInfo;
pub fn execute(current_task_info: Option<CurrentTaskInfo>) {
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:");