From 365b8473133e9a2965c244a3ac64d1bdc0f08d6e Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Mon, 16 Jan 2023 20:02:44 +0100 Subject: [PATCH] Use stderr and a different emoji for error log messages --- src/update.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/update.rs b/src/update.rs index 0a229b3..aa14ea4 100644 --- a/src/update.rs +++ b/src/update.rs @@ -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; } };