fix: Replace warning with warn method in logger for consistency in Beteiligte sync steps
This commit is contained in:
@@ -114,7 +114,7 @@ async def handler(context):
|
||||
failed_count = sum(1 for r in results if isinstance(r, Exception))
|
||||
|
||||
if failed_count > 0:
|
||||
context.logger.warning(f"⚠️ {failed_count} Events konnten nicht emittiert werden")
|
||||
context.logger.warn(f"⚠️ {failed_count} Events konnten nicht emittiert werden")
|
||||
# Log first few errors
|
||||
for i, result in enumerate(results[:5]): # Log max 5 errors
|
||||
if isinstance(result, Exception):
|
||||
|
||||
Reference in New Issue
Block a user