You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log at once user_ids of users suffering from senderId mismatch (#839)
### Context
* Many logs all the time
* They are useless (only tell a senderId which is deleted immediately
after
* Many users don't receive important notifs
### What this PR does
* Distinguish the `UnregisteredError`, the `SenderIdMismatchError` and
the rest
* Log once for everyone who got a senderId mismatch
* and log the useful pieces of info, i.e. `user_id`
* Add missing types
* `TODO:` retry immediately after for whom the notif failed (with a new
token), or remember the list
Manage the response of a firebase notification. We need to assume that tokens that failed to be send are not valid anymore and delete them from the database.
0 commit comments