mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
test(deltachat-rpc-client): log all events as debug messages
This is necessary to debug the tests.
This commit is contained in:
@@ -132,7 +132,9 @@ class Rpc:
|
||||
event = self.get_next_event()
|
||||
account_id = event["contextId"]
|
||||
queue = self.get_queue(account_id)
|
||||
queue.put(event["event"])
|
||||
event = event["event"]
|
||||
logging.debug("account_id=%d got an event %s", account_id, event)
|
||||
queue.put(event)
|
||||
except Exception:
|
||||
# Log an exception if the event loop dies.
|
||||
logging.exception("Exception in the event loop")
|
||||
|
||||
Reference in New Issue
Block a user