mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Log some bits about event creation (#4121)
I found these helpful in debugging my room upgrade tests.
This commit is contained in:
parent
60f128a401
commit
9b827c40ca
3 changed files with 8 additions and 0 deletions
|
@ -427,6 +427,9 @@ class EventCreationHandler(object):
|
|||
|
||||
if event.is_state():
|
||||
prev_state = yield self.deduplicate_state_event(event, context)
|
||||
logger.info(
|
||||
"Not bothering to persist duplicate state event %s", event.event_id,
|
||||
)
|
||||
if prev_state is not None:
|
||||
defer.returnValue(prev_state)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue