console: check error trace where specified
In scope of the #9914 issue we are setting error trace for API to the caller frame. Let's leverage existing diff tests to check error trace. Just check error trace when error is raised when evaluating expression in console which is used in diff tests. The check is done for test build only and only for Lua modules specified in `tarantool._internal.trace_check_is_required`. Part of #9914 NO_TEST=internal NO_CHANGELOG=internal NO_DOC=internal
Showing
- src/box/lua/console.lua 88 additions, 1 deletionsrc/box/lua/console.lua
- src/lua/init.lua 40 additions, 0 deletionssrc/lua/init.lua
- test/app-luatest/console_check_trace_test.lua 36 additions, 0 deletionstest/app-luatest/console_check_trace_test.lua
- test/box/error.result 8 additions, 3 deletionstest/box/error.result
- test/box/error.test.lua 3 additions, 1 deletiontest/box/error.test.lua
Loading
Please register or sign in to comment