Fixed some problems
All checks were successful
Code Analysis and Production Deploy / analyze (push) Successful in 6m38s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 2m37s

This commit is contained in:
Torsten Schulz (local)
2026-06-12 11:42:22 +02:00
parent da1efa5a74
commit 44d441811c
3 changed files with 21 additions and 5 deletions

View File

@@ -182,7 +182,7 @@ export async function sendPushToUsers({ title, body, data = {}, predicate, failu
validTokens.push(entry)
} catch (error) {
failed += 1
console.error(`${failureLabel} fehlgeschlagen:`, error.message)
console.error('FCM Push fehlgeschlagen:', { failureLabel, message: error.message })
if (!/UNREGISTERED|NOT_FOUND|INVALID_ARGUMENT/.test(String(error.message))) {
validTokens.push(entry)
} else {