Add logging to help diagnose ratelimit issues.
This commit is contained in:
parent
eaf72b194f
commit
a17fd447a7
1 changed files with 2 additions and 0 deletions
|
@ -592,6 +592,8 @@ public class PushServiceSocket {
|
|||
|
||||
String path = String.format(PREKEY_DEVICE_PATH, destination.getIdentifier(), deviceId);
|
||||
|
||||
Log.d(TAG, "Fetching prekeys for " + destination.getIdentifier() + "." + deviceId + ", i.e. GET " + path);
|
||||
|
||||
String responseText = makeServiceRequest(path, "GET", null, NO_HEADERS, unidentifiedAccess);
|
||||
PreKeyResponse response = JsonUtil.fromJson(responseText, PreKeyResponse.class);
|
||||
List<PreKeyBundle> bundles = new LinkedList<>();
|
||||
|
|
Loading…
Add table
Reference in a new issue