[AltServer] Improves error messages

This commit is contained in:
Riley Testut
2021-06-04 13:57:40 -07:00
parent e0b50ac80c
commit 558a3fc865
6 changed files with 122 additions and 32 deletions

View File

@@ -1126,6 +1126,11 @@ NSNotificationName const ALTDeviceManagerDeviceDidDisconnectNotification = @"ALT
idevice_free(device);
}
if (error)
{
error = [error alt_errorWithLocalizedFailure:[NSString stringWithFormat:NSLocalizedString(@"The Developer disk image could not be installed onto %@.", @""), altDevice.name]];
}
completionHandler(error == nil, error);
};