mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
Create NotFoundExceptions with id fields
This commit is contained in:
@@ -185,7 +185,7 @@ public class DefaultUserManager extends AbstractUserManager
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new UserNotFoundException();
|
||||
throw new UserNotFoundException(user);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ public class DefaultUserManager extends AbstractUserManager
|
||||
|
||||
if (fresh == null)
|
||||
{
|
||||
throw new UserNotFoundException();
|
||||
throw new UserNotFoundException(user);
|
||||
}
|
||||
|
||||
fresh.copyProperties(user);
|
||||
|
||||
Reference in New Issue
Block a user