Skip to content

Commit 489b60d

Browse files
committed
Add debugging
1 parent b2bbdb5 commit 489b60d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

synapse/appservice/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,9 @@ async def push_bulk(
342342
has_edus = service.supports_ephemeral and len(ephemeral) > 0
343343
has_device_list_changes = service.msc3202_transaction_extensions and (len(list(device_list_summary.changed)) > 0 or len(list(device_list_summary.left)) > 0)
344344
has_messages = service.supports_ephemeral and len(to_device_messages) > 0
345+
logger.info("Transaction properties: has_events=%s, has_edus=%s, has_device_list_changes=%s, has_messages=%s", has_events, has_edus, has_device_list_changes, has_messages)
345346
if not has_events and not has_edus and not has_device_list_changes and not has_messages:
346-
logger.info("Returning early on transaction: no events to send")
347+
logger.info("Returning early on transaction: nothing to send.")
347348
return True
348349

349350
try:

0 commit comments

Comments
 (0)