cli/status: use eprintln instead of panic
This commit is contained in:
parent
f9d2761700
commit
1753daa5a0
1 changed files with 1 additions and 1 deletions
|
@ -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:");
|
||||
|
|
Loading…
Reference in a new issue