move println into error

master
Edward Shen 2020-05-02 13:48:18 -04:00
parent c85190b626
commit 8c8b6a5400
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ async fn run() -> Result<(), KuranteError> {
}
if let Err(why) = client.start().await {
println!("An error occurred while running the client: {:?}", why);
error!("An error occurred while running the client: {:?}", why);
}
Ok(())