mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
On a Grid Handler exception, explicitly log the exception message and stack trace so that we get somewhat better diagnostics on windows
This commit is contained in:
@@ -115,15 +115,15 @@ namespace OpenSim.Server.Handlers.Grid
|
||||
case "get_region_flags":
|
||||
return GetRegionFlags(request);
|
||||
}
|
||||
|
||||
m_log.DebugFormat("[GRID HANDLER]: unknown method {0} request {1}", method.Length, method);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.DebugFormat("[GRID HANDLER]: Exception {0}", e);
|
||||
m_log.ErrorFormat("[GRID HANDLER]: Exception {0} {1}", e.Message, e.StackTrace);
|
||||
}
|
||||
|
||||
return FailureResult();
|
||||
|
||||
}
|
||||
|
||||
#region Method-specific handlers
|
||||
|
||||
Reference in New Issue
Block a user