* Make master UUID exception a bit more useful by telling us which uuid it was trying to look up

0.6.0-stable
Justin Clarke Casey 2008-03-22 21:19:45 +00:00
parent 61ae75f364
commit 170e1a8a09
1 changed files with 3 additions and 1 deletions

View File

@ -258,10 +258,12 @@ namespace OpenSim.Region.Communications.OGS1
public UserProfileData SetupMasterUser(LLUUID uuid) public UserProfileData SetupMasterUser(LLUUID uuid)
{ {
UserProfileData data = GetUserProfile(uuid); UserProfileData data = GetUserProfile(uuid);
if (data == null) if (data == null)
{ {
throw new Exception("[OGS1 USER SERVICES]: Unknown master user UUID"); throw new Exception("[OGS1 USER SERVICES]: Unknown master user " + uuid);
} }
return data; return data;
} }