Fix handling of resumable upload errors in archive uploads.

This commit is contained in:
Greyson Parrelli
2025-07-30 11:46:46 -04:00
parent 1ee606de9e
commit 9204c9a1b8
2 changed files with 7 additions and 1 deletions

View File

@@ -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;