feat: Refactor webhook handlers for Beteiligte to improve ID processing and logging, and enhance update filtering logic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user