mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
checking message
This commit is contained in:
parent
9d3b2ebf42
commit
955fe4b4b5
@ -562,7 +562,7 @@ public class UserManagementServiceImpl implements UserManagementService {
|
||||
}
|
||||
} catch (DeviceManagementException e) {
|
||||
String msg = "Error occurred while inviting user to enrol their device";
|
||||
if (e.getMessage() != null) {
|
||||
if (e.getMessage() != null && !e.getMessage().isEmpty()) {
|
||||
msg = e.getMessage();
|
||||
}
|
||||
log.error(msg, e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user