diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-09-08 13:43:43 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-09-08 13:43:43 +0100 |
commit | fa9d36e050d942e76b2bd6a6d2c190215a1dac39 (patch) | |
tree | 806152a98d66013b94882c85cb1cb6129be62e78 /synapse/storage/devices.py | |
parent | Add a new method to enqueue the device messages rather than sending a dummy EDU (diff) | |
parent | Log delta files we're applying (diff) | |
download | synapse-fa9d36e050d942e76b2bd6a6d2c190215a1dac39.tar.xz |
Merge branch 'develop' into markjh/direct_to_device_federation
Diffstat (limited to 'synapse/storage/devices.py')
-rw-r--r-- | synapse/storage/devices.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py index afd6530cab..17920d4480 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py @@ -54,8 +54,12 @@ class DeviceStore(SQLBaseStore): or_ignore=ignore_if_known, ) except Exception as e: - logger.error("store_device with device_id=%s failed: %s", - device_id, e) + logger.error("store_device with device_id=%s(%r) user_id=%s(%r)" + " display_name=%s(%r) failed: %s", + type(device_id).__name__, device_id, + type(user_id).__name__, user_id, + type(initial_device_display_name).__name__, + initial_device_display_name, e) raise StoreError(500, "Problem storing device.") def get_device(self, user_id, device_id): |