mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 14:09:58 +00:00
Fix handling of resumable upload errors in archive uploads.
This commit is contained in:
@@ -961,7 +961,7 @@ public class PushServiceSocket {
|
||||
if (response.isSuccessful()) {
|
||||
return file.getAttachmentDigest();
|
||||
} else {
|
||||
throw new NonSuccessfulResponseCodeException(response.code(), "Response: " + response);
|
||||
throw new NonSuccessfulResponseCodeException(response.code(), "Response: " + response, response.body().string());
|
||||
}
|
||||
} catch (PushNetworkException | NonSuccessfulResponseCodeException e) {
|
||||
throw e;
|
||||
|
||||
Reference in New Issue
Block a user