move println into error
This commit is contained in:
parent
c85190b626
commit
8c8b6a5400
1 changed files with 1 additions and 1 deletions
|
@ -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(())
|
||||
|
|
Loading…
Reference in a new issue