Skip to content

Commit e19c8ab

Browse files
committed
Add debugging
1 parent b99a62b commit e19c8ab

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
@@ -332,8 +332,9 @@ async def push_bulk(
332332
has_edus = service.supports_ephemeral and len(ephemeral) > 0
333333
has_device_list_changes = service.msc3202_transaction_extensions and (len(list(device_list_summary.changed)) > 0 or len(list(device_list_summary.left)) > 0)
334334
has_messages = service.supports_ephemeral and len(to_device_messages) > 0
335+
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)
335336
if not has_events and not has_edus and not has_device_list_changes and not has_messages:
336-
logger.info("Returning early on transaction: no events to send")
337+
logger.info("Returning early on transaction: nothing to send.")
337338
return True
338339

339340
try:

0 commit comments

Comments
 (0)