Skip to content

Commit f988e20

Browse files
committed
chore: fix failing test
1 parent 99e71ca commit f988e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Models/AWSAuthCognitoSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public struct AWSAuthCognitoSession: AuthSession,
6565
AuthPluginErrorConstants.userSubSignOutError.errorDescription,
6666
AuthPluginErrorConstants.userSubSignOutError.recoverySuggestion))
6767
} catch {
68-
return .failure(AuthError.unknown("Unknown error.", error))
68+
return .failure(error as AuthError)
6969
}
7070
}
7171

0 commit comments

Comments
 (0)