From 170e1a8a094e60ea3ca7aedcc6f6b860a500d946 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 22 Mar 2008 21:19:45 +0000 Subject: [PATCH] * 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(-) diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index bb74e22afb..43b39395b7 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; }