diff --git a/moat-cli-lp/src/interactor.rs b/moat-cli-lp/src/interactor.rs index 2950d3b..70dc542 100644 --- a/moat-cli-lp/src/interactor.rs +++ b/moat-cli-lp/src/interactor.rs @@ -94,7 +94,7 @@ impl Interactor { println!("{}", run_result); } Err(error) => { - println!("{}", error.to_string()); + println!("{}", error); } } continue; diff --git a/moat-cli-user/src/interactor.rs b/moat-cli-user/src/interactor.rs index 803d195..37ab958 100644 --- a/moat-cli-user/src/interactor.rs +++ b/moat-cli-user/src/interactor.rs @@ -116,7 +116,7 @@ impl Interactor { println!("{}", run_result); } Err(error) => { - println!("{}", error.to_string()); + println!("{}", error); } } continue;