mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Return after ineligible error in digest sign up so its raised correctly
This commit is contained in:
parent
57f4401d0b
commit
6aeee29988
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ public extension DataService {
|
|||
case let .error(errorCode: errorCode):
|
||||
if errorCode == .ineligible {
|
||||
continuation.resume(throwing: IneligibleError.message(messageText: "You are not eligible for this feature."))
|
||||
return
|
||||
}
|
||||
continuation.resume(throwing: BasicError.message(messageText: errorCode.rawValue))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue