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:
Daniel Hahler 2016-03-06 14:46:39 +01:00
parent 8966c73599
commit 89b2ea6c08
1 changed files with 1 additions and 1 deletions

2
luaa.c
View File

@ -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);