diff options
author | Justin Clark-Casey (justincc) | 2011-02-24 00:55:50 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-02-24 00:55:50 +0000 |
commit | db7c758b7f4d2d1f7f7fa7708256ef18bd69c294 (patch) | |
tree | 7b3ef042694610bb5bd1a8a2a1803d32fb09a0c0 /OpenSim/Server/Handlers/Grid | |
parent | Forces the owner of a rezzed object to be the "rezzer" of the (diff) | |
download | opensim-SC-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.zip opensim-SC-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.tar.gz opensim-SC-db7c758b7f4d2d1f7f7fa7708256ef18bd69c294.tar.bz2 opensim-SC-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
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Grid/GridServerPostHandler.cs | 4 |
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 |