mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge branch 'application-mgt-new' into 'application-mgt-new'
Change logger level to warn when Android Enterprise is not configured See merge request entgra/carbon-device-mgt-plugins!93
This commit is contained in:
commit
708aafd3a1
@ -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