fix: log full event
This commit is contained in:
parent
7183358f48
commit
a22886334c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class AppService:
|
|||
if event.type not in EventType.all(): # TODO: python 3.12 makes the .all() unnecessary
|
||||
self.logger.warn("unhandled event of type %s, ignoring", event["type"])
|
||||
continue
|
||||
self.logger.debug("dispatching event %s for %s", event.type)
|
||||
self.logger.debug("dispatching event %s", event)
|
||||
callback = self._callbacks.get(event.type, {}).get(event.room_id, None)
|
||||
if callback is not None:
|
||||
asyncio.get_event_loop().create_task(callback(event))
|
||||
|
|
Loading…
Reference in a new issue