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:
@@ -190,7 +190,12 @@ async function handleLinkAccount({
|
||||
url: `/${lang}/sas-x-scandic/error?errorCode=dateOfBirthMismatch`,
|
||||
type: "replace",
|
||||
}
|
||||
// Currently unhandled errors
|
||||
case "accountToNew":
|
||||
case "nameNotMatched":
|
||||
case "blockedForRelink":
|
||||
case "error":
|
||||
default:
|
||||
return {
|
||||
url: `/${lang}/sas-x-scandic/error`,
|
||||
type: "replace",
|
||||
|
||||
Reference in New Issue
Block a user