From 38ff61f614566e6ae129da97b4705673eb3ad12c Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Sat, 28 Jan 2023 20:01:36 +0100 Subject: [PATCH] Cover every error from Lua to display panic screen --- Capy64/Runtime/RuntimeManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Capy64/Runtime/RuntimeManager.cs b/Capy64/Runtime/RuntimeManager.cs index cc62bdf..ab740e8 100644 --- a/Capy64/Runtime/RuntimeManager.cs +++ b/Capy64/Runtime/RuntimeManager.cs @@ -68,7 +68,7 @@ internal class RuntimeManager : IPlugin Start(); } } - catch (LuaException e) + catch (Exception e) { Console.Error.WriteLine(e); inPanic = true;