Add descriptive error to updateToken() (#34113)

Closes #13852

Signed-off-by: Dami <74161050+adropofliquid@users.noreply.github.com>
This commit is contained in:
Dami 2024-10-23 12:07:33 +01:00 committed by GitHub
parent e6e2bfdf30
commit cef0231bf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -673,7 +673,7 @@ function Keycloak (config) {
kc.onAuthRefreshError && kc.onAuthRefreshError();
for (var p = refreshQueue.pop(); p != null; p = refreshQueue.pop()) {
p.setError(true);
p.setError("Failed to refresh token: An unexpected HTTP error occurred while attempting to refresh the token.");
}
}
}