fix log
Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
parent
c23489d1fd
commit
590e61b574
@ -122,7 +122,7 @@ public Role getRole(String roleName) throws RbacObjectNotFoundException, RbacMan
|
||||
try {
|
||||
role = q.getSingleResult();
|
||||
} catch (NoResultException ex) {
|
||||
log.warn("Role {0} not found", roleName);
|
||||
log.warn("Role {} not found", roleName);
|
||||
throw new RbacObjectNotFoundException("Role not found "+roleName);
|
||||
}
|
||||
return role;
|
||||
|
Loading…
x
Reference in New Issue
Block a user