add try
parent
4ac5da4ee2
commit
d3d8eb1d45
|
@ -319,6 +319,8 @@ namespace OpenSim.Modules.PathFinding
|
|||
}
|
||||
|
||||
private void generatePath(ScriptRequestData requestData)
|
||||
{
|
||||
try
|
||||
{
|
||||
lock (m_environments)
|
||||
{
|
||||
|
@ -381,6 +383,10 @@ namespace OpenSim.Modules.PathFinding
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue