Add exclamation mark with error in luaA_dofunction_on_error
This makes it more obvious/visible in the log / output.
This commit is contained in:
parent
8966c73599
commit
89b2ea6c08
2
luaa.c
2
luaa.c
|
@ -399,7 +399,7 @@ luaA_dofunction_on_error(lua_State *L)
|
|||
/* emit error signal */
|
||||
signal_object_emit(L, &global_signals, "debug::error", 1);
|
||||
|
||||
if(!luaL_dostring(L, "return debug.traceback(\"error while running function\", 3)"))
|
||||
if(!luaL_dostring(L, "return debug.traceback(\"error while running function!\", 3)"))
|
||||
{
|
||||
/* Move traceback before error */
|
||||
lua_insert(L, -2);
|
||||
|
|
Loading…
Reference in New Issue