Log some bits about event creation (#4121)

I found these helpful in debugging my room upgrade tests.
This commit is contained in:
Richard van der Hoff 2018-10-31 15:42:23 +00:00 committed by GitHub
parent 60f128a401
commit 9b827c40ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -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)