Merged in feat/sw-2526-update-sas-error-handling-after-api-changes (pull request #1886)

SW-2526 - Update error handling for link SAS account

* Update error handling for link SAS account

* Capture schema validation error and send to Sentry

* Add cases for unhandled otp errors


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-05-12 11:48:31 +00:00
parent 6d1f9cbb28
commit 94a00d40b7
3 changed files with 51 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ export function SASLevelUpgradeCheck() {
toast.success(
intl.formatMessage(
{
defaultMessage: "Your SAS level has upgraded you to {level}!",
defaultMessage:
"Your SAS EuroBonus level has upgraded you to {level}!",
},
{
level: TIER_TO_FRIEND_MAP[result.toLevel],