Change logger level to warn when Android Enterprise is not configured

merge-requests/93/head
Jayasanka 5 years ago
parent bc167bd963
commit 40bfb2175c

@ -251,7 +251,7 @@ public class AndroidEnterpriseUtils {
String esa = AndroidDeviceUtils.getAndroidConfig(configuration,"esa");
if (enterpriseId == null || enterpriseId.isEmpty() || esa == null || esa.isEmpty()) {
String errorMessage = "Tenant is not configured to handle Android for work. Please contact Entgra.";
log.error(errorMessage);
log.warn(errorMessage);
enterpriseConfigs.setErrorResponse(new ErrorResponse.ErrorResponseBuilder().setCode(404l)
.setMessage(errorMessage).build());
}

Loading…
Cancel
Save