* refactor: Move error logging from GetUserDetails up to callers, since there are some circumstances in which not finding a user is not an error

This commit is contained in:
Justin Clarke Casey
2008-10-15 16:35:27 +00:00
parent 9c4d868167
commit 9324c3f110
6 changed files with 59 additions and 4 deletions

View File

@@ -604,6 +604,13 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
string avatarname = profile.UserProfile.FirstName + " " + profile.UserProfile.SurName;
return avatarname;
}
else
{
m_log.ErrorFormat(
"[MONEY]: Could not resolve user {0}",
agentID);
}
return String.Empty;
}