Skip to content

Commit

Permalink
Return after ineligible error in digest sign up so its raised correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonh committed Jul 12, 2024
1 parent 57f4401 commit 6aeee29
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 6aeee29

Please sign in to comment.