Skip to content

Commit

Permalink
warn when not registering push devices
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan0xC committed Oct 14, 2023
1 parent 0e1c1d8 commit 981cfc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(());
Expand Down

0 comments on commit 981cfc9

Please sign in to comment.