feat: Refactor webhook handlers for Beteiligte to improve ID processing and logging, and enhance update filtering logic

This commit is contained in:
2026-02-07 18:53:54 +00:00
parent ae1d96f767
commit 3354aef936
5 changed files with 106 additions and 136 deletions

View File

@@ -96,10 +96,6 @@ async def handler(event_data, context):
context.logger.warning(f"⚠️ Unbekannte Kombination: action={action}, betnr={betnr}")
await sync_utils.release_sync_lock(entity_id, 'failed', f'Unbekannte Aktion: {action}')
# Redis Queue Cleanup
pending_key = f'vmh:beteiligte:{action}_pending'
redis_client.srem(pending_key, entity_id)
except Exception as e:
context.logger.error(f"❌ Unerwarteter Fehler im Sync-Handler: {e}")
import traceback