Use stderr and a different emoji for error log messages

This commit is contained in:
Paul van Tilburg 2023-01-16 20:02:44 +01:00
parent e1d70e8a59
commit 365b847313
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 2 additions and 2 deletions

View File

@ -38,13 +38,13 @@ pub(super) async fn update_loop(service: Services) -> color_eyre::Result<()> {
let status = match service.update(timestamp).await {
Ok(status) => status,
Err(Error::NotAuthorized) => {
println!(" Update unauthorized, trying to log in again...");
eprintln!("💥 Update unauthorized, trying to log in again...");
service.login().await?;
println!("⚡ Logged in successfully!");
continue;
}
Err(e) => {
println!(" Failed to update status: {}", e);
eprintln!("💥 Failed to update status: {}", e);
continue;
}
};