sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900153453


##########
server/src/main/java/com/cloud/projects/ProjectManagerImpl.java:
##########
@@ -1270,7 +1269,7 @@ public Boolean doInTransaction(TransactionStatus status) {
                 });
             }
         } else {
-            throw new InvalidParameterValueException("Unable to find 
invitation for account name=" + accountName + " to the project id=" + 
projectId);
+            throw new InvalidParameterValueException(String.format("Unable to 
find invitation for account name=%s to the project id=%s", accountName, 
project));

Review Comment:
   ```suggestion
               throw new InvalidParameterValueException(String.format("Unable 
to find invitation for account name=%s to the project=%s", accountName, 
project));
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to