Skip to content

Commit bab3820

Browse files
committed
Even clearer beta blobs error message
1 parent a49a132 commit bab3820

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ if (hasProperty('buildScan')) {
234234
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
235235
termsOfServiceAgree = 'yes'
236236
}
237-
}
237+
}

src/main/java/airsquared/blobsaver/app/TSS.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ private List<Utils.IOSVersion> getIOSVersions() throws TSSException {
302302
Stream<Utils.IOSVersion> signedBetas = getSignedBetas(deviceIdentifier);
303303
return Stream.concat(signedFirmwares, signedBetas).toList();
304304
} catch (Exception e) {
305+
if (e.getMessage().startsWith("HTTP Response was (GET https://www.betahub.cn/api/apple/firmwares/")) {
306+
throw new TSSException("There was an error retrieving beta versions; try without including beta versions.\n\nThis is a known issue. See issue #603 on GitHub for more information.", false, e);
307+
}
305308
throw new TSSException("There was an error retrieving beta versions; try without including beta versions. For more information, try again with the debug log open.", false, e);
306309
}
307310
} else { // all signed firmwares

0 commit comments

Comments
 (0)