diff options
Diffstat (limited to 'src/ldblib.js')
-rw-r--r-- | src/ldblib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldblib.js b/src/ldblib.js index c637af2..a4de832 100644 --- a/src/ldblib.js +++ b/src/ldblib.js @@ -15,7 +15,7 @@ const ldebug = require('./ldebug.js'); */ const checkstack = function(L, L1, n) { if (L !== L1 && !lapi.lua_checkstack(L1, n)) - lauxlib.luaL_error(L, "stack overflow"); + lauxlib.luaL_error(L, lua.to_luastring("stack overflow", true)); }; const db_getregistry = function(L) { |