diff options
Diffstat (limited to '')
| -rw-r--r-- | src/LuaRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } }); } |
