minor: Log an exception if we aren't able to delete a script state file rather than simply ignoring it.
This should never normally happen but if it does then it can be valuable diagonstic information.user_profiles
parent
aab2b032aa
commit
8690a08881
|
@ -520,8 +520,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||||
{
|
{
|
||||||
File.Delete(savedState);
|
File.Delete(savedState);
|
||||||
}
|
}
|
||||||
catch(Exception)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
m_log.Warn(
|
||||||
|
string.Format(
|
||||||
|
"[SCRIPT INSTANCE]: Could not delete script state {0} for script {1} (id {2}) in part {3} (id {4}) in object {5} in {6}. Exception ",
|
||||||
|
ScriptTask.Name, ScriptTask.ItemID, Part.Name, Part.UUID, Part.ParentGroup.Name, Engine.World.Name),
|
||||||
|
e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue