master
Christopher Latza 2020-06-23 17:19:45 +02:00
parent 4ac5da4ee2
commit d3d8eb1d45
1 changed files with 45 additions and 39 deletions

View File

@ -319,6 +319,8 @@ namespace OpenSim.Modules.PathFinding
} }
private void generatePath(ScriptRequestData requestData) private void generatePath(ScriptRequestData requestData)
{
try
{ {
lock (m_environments) lock (m_environments)
{ {
@ -381,6 +383,10 @@ namespace OpenSim.Modules.PathFinding
m_scriptModule.DispatchReply(requestData.ScriptID, 19854, "", requestData.RequestID.ToString()); m_scriptModule.DispatchReply(requestData.ScriptID, 19854, "", requestData.RequestID.ToString());
} }
} }
}catch(Exception _error)
{
m_scriptModule.DispatchReply(requestData.ScriptID, 19860, _error.Message, requestData.RequestID.ToString());
}
} }
private void generateDebugImage(ScriptRequestData requestData) private void generateDebugImage(ScriptRequestData requestData)