Cover every error from Lua to display panic screen

This commit is contained in:
Alessandro Proto 2023-01-28 20:01:36 +01:00
parent ad34d6185b
commit 38ff61f614

View file

@ -68,7 +68,7 @@ internal class RuntimeManager : IPlugin
Start(); Start();
} }
} }
catch (LuaException e) catch (Exception e)
{ {
Console.Error.WriteLine(e); Console.Error.WriteLine(e);
inPanic = true; inPanic = true;