diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-05-02 00:21:32 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-05-02 16:23:05 +0530 |
| commit | 00efc9757475b3b347fee0ce2aaccfbf4b1c33b5 (patch) | |
| tree | da75cc067b26afc4dc3b444ffafd68d17fcd947f /src/LuaRuntime.cpp | |
| parent | 0da44615dcf97ad34b4576da8ef0b77f6c9fc01f (diff) | |
| download | null-browser-00efc9757475b3b347fee0ce2aaccfbf4b1c33b5.tar.gz null-browser-00efc9757475b3b347fee0ce2aaccfbf4b1c33b5.zip | |
Add a simple lua test suite + add utils spec + fix keymap spec
Diffstat (limited to 'src/LuaRuntime.cpp')
| -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); } }); } |
