FCM: Debug-Popup und doppelte Diagnoseausgaben entfernen

This commit is contained in:
concierge committed 2026-11-11 08:38:08 +01:00
1 parent d2be8e0d69
commit b53dd11f1c
6 files changed
+15 -141

No files matched your search

-12
View File
@@ -77,13 +77,6 @@ def register_push_token(**kwargs):
'FCM-Token registriert: tenant=%s client=%s type=%s',
g.tenant_id, client_id, client_type
)
write_fcm_debug_log({
'event': 'token-registered',
'client_id': client_id,
'account_id': account_id,
'client_type': client_type,
'platform': _platform_name(data.get('platform')),
}, tenant_id=g.tenant_id)
return jsonify({'ok': True})
@@ -197,11 +190,6 @@ def wake_mobile_clients(**kwargs):
int(result.get('failed') or 0)
)
error_details = list(result.get('errors') or [])[:5]
for item in error_details:
current_app.logger.warning(
'FCM-Wake-Fehler: tenant=%s token=%s error=%s',
g.tenant_id, item.get('fingerprint'), item.get('error')
)
write_fcm_debug_log({
'event': 'wake-manual',
'group_id': group_id,