mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
update check in case of 401
This commit is contained in:
@@ -859,7 +859,8 @@ public class PublicApiClient
|
|||||||
errorMessage + ": \n" + " Response: " + response;
|
errorMessage + ": \n" + " Response: " + response;
|
||||||
throw new PublicApiException(msg, response);
|
throw new PublicApiException(msg, response);
|
||||||
}
|
}
|
||||||
if (expectedStatus >= 400) {
|
///in case of Status.SC_UNAUTHORIZED no response is returned
|
||||||
|
if (expectedStatus >= 400 && expectedStatus != 401) {
|
||||||
checkErrorKeyResponse(errorMessage, expectedStatus, response);
|
checkErrorKeyResponse(errorMessage, expectedStatus, response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user