Skip to content

Commit 3524399

Browse files
committed
Handle error code -13 in idevicepair
1 parent 979a58f commit 3524399

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/airsquared/blobsaver/Controller.java

+3
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,9 @@ public void readInfo() {
12671267
} else if (idevicepairResult.contains("ERROR") && idevicepairResult.contains("a passcode is set")) {
12681268
newUnreportableError("Please unlock your device.");
12691269
return;
1270+
} else if (idevicepairResult.contains("Device") && idevicepairResult.contains("returned unhandled error code -13")) {
1271+
newUnreportableError("Please disconnect your device, unlock it, plug it back in, and try again. If this doesn't work, please create a new Github issue or PM me on Reddit via the help menu.");
1272+
return;
12701273
} else if (idevicepairResult.contains("ERROR")) {
12711274
newReportableError("idevicepair error.", idevicepairResult);
12721275
return;

0 commit comments

Comments
 (0)