aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-02-24 00:55:50 +0000
committerJustin Clark-Casey (justincc)2011-02-24 00:55:50 +0000
commitdb7c758b7f4d2d1f7f7fa7708256ef18bd69c294 (patch)
tree7b3ef042694610bb5bd1a8a2a1803d32fb09a0c0
parentForces the owner of a rezzed object to be the "rezzer" of the (diff)
downloadopensim-SC_OLD-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.zip
opensim-SC_OLD-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.tar.gz
opensim-SC_OLD-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.tar.bz2
opensim-SC_OLD-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.tar.xz
On a Grid Handler exception, explicitly log the exception message and stack trace so that we get somewhat better diagnostics on windows
-rw-r--r--OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs b/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs
index 913c6c9..edc0561 100644
--- a/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs
@@ -115,15 +115,15 @@ namespace OpenSim.Server.Handlers.Grid
115 case "get_region_flags": 115 case "get_region_flags":
116 return GetRegionFlags(request); 116 return GetRegionFlags(request);
117 } 117 }
118
118 m_log.DebugFormat("[GRID HANDLER]: unknown method {0} request {1}", method.Length, method); 119 m_log.DebugFormat("[GRID HANDLER]: unknown method {0} request {1}", method.Length, method);
119 } 120 }
120 catch (Exception e) 121 catch (Exception e)
121 { 122 {
122 m_log.DebugFormat("[GRID HANDLER]: Exception {0}", e); 123 m_log.ErrorFormat("[GRID HANDLER]: Exception {0} {1}", e.Message, e.StackTrace);
123 } 124 }
124 125
125 return FailureResult(); 126 return FailureResult();
126
127 } 127 }
128 128
129 #region Method-specific handlers 129 #region Method-specific handlers