Fixed some minor lua related crashing when the parent file was not found for some reason. Used decorated message for error output, not normal message.

This commit is contained in:
Filip Maj
2016-07-16 19:52:13 -04:00
parent 110cfbccc2
commit d26b64b458
2 changed files with 5 additions and 5 deletions

View File

@@ -1140,7 +1140,7 @@ namespace FFXIVClassic_Map_Server.Actors
}
catch (ScriptRuntimeException e)
{
Program.Log.Error("[LUA] {0}", e.Message);
Program.Log.Error("[LUA] {0}", e.DecoratedMessage);
EndEvent();
}
}
@@ -1161,7 +1161,7 @@ namespace FFXIVClassic_Map_Server.Actors
}
catch (ScriptRuntimeException e)
{
Program.Log.Error("[LUA] {0}", e.Message);
Program.Log.Error("[LUA] {0}", e.DecoratedMessage);
EndEvent();
}
}
@@ -1186,7 +1186,7 @@ namespace FFXIVClassic_Map_Server.Actors
}
catch (ScriptRuntimeException e)
{
Program.Log.Error("[LUA] {0}", e.Message);
Program.Log.Error("[LUA] {0}", e.DecoratedMessage);
EndEvent();
}
}