Skip to content

Commit

Permalink
throw error throw from child functions instead of unknown error
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark committed Oct 14, 2024
1 parent 2bc1ae7 commit 276022a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CardPayments/CardClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public class CardClient: NSObject {
}
} catch {
analyticsService?.sendEvent("card-payments:3ds:confirm-payment-source:failed")
throw CardClientError.unknownError
throw error
}
}

Expand Down

0 comments on commit 276022a

Please sign in to comment.