bug 11298: give detailed error message when failed to authenticate a user

status 11298: resolved fixed
This commit is contained in:
alena 2011-08-30 16:51:45 -07:00
parent acaba52736
commit 39b78ee17c
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ public class ApiServer implements HttpRequestHandler {
return;
}
throw new CloudAuthenticationException("Unable to find user " + username + " in domain " + domainId);
throw new CloudAuthenticationException("Failed to authenticate user " + username + " in domain " + domainId + "; please provide valid credentials");
}
public void logoutUser(long userId) {