Ignore network failures for app update logic
This commit is contained in:
parent
ae6589bc0a
commit
e314bd1ca9
@ -44,10 +44,10 @@ class AppUpdateNag: NSObject {
|
||||
}.catch { error in
|
||||
// Only failDebug if we're looking up the true org.whispersystems.signal app store record
|
||||
// If someone is building Signal with their own bundleID, it's less important that this succeeds.
|
||||
if bundleIdentifier.hasPrefix("org.whispersystems") {
|
||||
owsFailDebug("Failed to find Signal app store record")
|
||||
} else {
|
||||
if error.isNetworkFailureOrTimeout || !bundleIdentifier.hasPrefix("org.whispersystems") {
|
||||
Logger.warn("failed with error: \(error)")
|
||||
} else {
|
||||
owsFailDebug("Failed to find Signal app store record")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user