From 89b2ea6c08d51711d36a606d8e3bee68b5a445fd Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 6 Mar 2016 14:46:39 +0100 Subject: [PATCH] Add exclamation mark with error in luaA_dofunction_on_error This makes it more obvious/visible in the log / output. --- luaa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luaa.c b/luaa.c index caff6f34b..e32544ed0 100644 --- a/luaa.c +++ b/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);