Skip to content

Commit 03a92da

Browse files
authored
Update error message for project ID lookup failure
1 parent 3f86092 commit 03a92da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/main/java/org/apache/cloudstack/api/command/admin/acl/project/ListProjectRolesCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void execute() {
7676
if (getProjectId() != null && getProjectId() > 0) {
7777
project = _projectService.getProject(getProjectId());
7878
if (project == null) {
79-
throw new InvalidParameterValueException("Unable to find project by ID.");
79+
throw new InvalidParameterValueException("Failed to find project by ID.");
8080
}
8181
}
8282
final String projectUuid = project != null ? project.getUuid() : null;

0 commit comments

Comments
 (0)