From 170e1a8a094e60ea3ca7aedcc6f6b860a500d946 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 22 Mar 2008 21:19:45 +0000 Subject: * Make master UUID exception a bit more useful by telling us which uuid it was trying to look up --- OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index bb74e22..43b3939 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs @@ -258,10 +258,12 @@ namespace OpenSim.Region.Communications.OGS1 public UserProfileData SetupMasterUser(LLUUID uuid) { UserProfileData data = GetUserProfile(uuid); + 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; } -- cgit v1.1