From 981cfc955d69691e73cda92c6c3628292834b941 Mon Sep 17 00:00:00 2001 From: Stefan Melmuk Date: Sat, 14 Oct 2023 08:50:29 +0200 Subject: [PATCH] warn when not registering push devices --- src/api/push.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/push.rs b/src/api/push.rs index 2869f8785bb..50cfda2e0e2 100644 --- a/src/api/push.rs +++ b/src/api/push.rs @@ -86,8 +86,8 @@ pub async fn register_missing_push_devices_for_user(user_uuid: &str, conn: &mut // Prevent registration of too many devices at once. if devices.len() > 2 { - debug!( - "You account has too many ({}) unregistered push devices. Consider cleaning up your devices table.", + warn!( + "Account {user_uuid} has too many ({}) unregistered push devices. Skipping device registration.", devices.len() ); return Ok(());