From 00efc9757475b3b347fee0ce2aaccfbf4b1c33b5 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 2 May 2025 00:21:32 +0530 Subject: Add a simple lua test suite + add utils spec + fix keymap spec --- src/LuaRuntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LuaRuntime.cpp b/src/LuaRuntime.cpp index 73555e0..eaf3df7 100644 --- a/src/LuaRuntime.cpp +++ b/src/LuaRuntime.cpp @@ -95,7 +95,7 @@ void LuaRuntime::append_package_path(const QString &path) { void LuaRuntime::load_file_sync(const QString &path) { preserve_top(state, { if (luaL_dofile(state, path.toStdString().c_str()) != LUA_OK) { - qDebug() << "Load file error:" << lua_tostring(state, -1); + lua_error(state); } }); } -- cgit v1.3.1