Update error message for project ID lookup failure

This commit is contained in:
Tonitzpp 2026-04-22 07:56:45 -03:00 committed by GitHub
parent 3f86092136
commit 03a92dad43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;