mirror of
https://github.com/fluencelabs/redis
synced 2025-06-01 11:31:20 +00:00
Lua script errors format more unified.
lua_pcall error handler now formats errors in a way more similar to luaPushError() so that errors generated in different contexts look alike.
This commit is contained in:
parent
b3fbc84cc1
commit
bf8e078aa2
@ -631,7 +631,7 @@ void scriptingInit(void) {
|
||||
" i = debug.getinfo(3,'nSl')\n"
|
||||
" end\n"
|
||||
" if i then\n"
|
||||
" return err ..': '.. i.source .. ': ' .. i.currentline\n"
|
||||
" return i.source .. ':' .. i.currentline .. ': ' .. err\n"
|
||||
" else\n"
|
||||
" return err\n"
|
||||
" end\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user