mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Change logger level to warn when Android Enterprise is not configured
This commit is contained in:
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…
Reference in New Issue
Block a user