Remove spammy log message for device not setup (#2006)

This message appears very frequently in our logs and does not seem to be
useful. Please comment and close if this message is useful to you.
This commit is contained in:
Michael Derynck 2023-05-24 14:49:08 -06:00 committed by GitHub
parent 61741867b4
commit db00528c75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -444,7 +444,6 @@ def conditionally_send_going_oncall_push_notifications_for_schedule(schedule_pk)
device_to_notify = FCMDevice.objects.filter(user=user).first()
if not device_to_notify:
logger.info(f"User {user_pk} has no device set up")
continue
else:
device_cache[user_pk] = device_to_notify