mirror of https://github.com/apache/cloudstack.git
Update error message for project ID lookup failure
This commit is contained in:
parent
3f86092136
commit
03a92dad43
|
|
@ -76,7 +76,7 @@ public class ListProjectRolesCmd extends BaseListCmd {
|
|||
if (getProjectId() != null && getProjectId() > 0) {
|
||||
project = _projectService.getProject(getProjectId());
|
||||
if (project == null) {
|
||||
throw new InvalidParameterValueException("Unable to find project by ID.");
|
||||
throw new InvalidParameterValueException("Failed to find project by ID.");
|
||||
}
|
||||
}
|
||||
final String projectUuid = project != null ? project.getUuid() : null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue