From 3548810ad5ee07c896a1dfdbd3811c9b1344e91d Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 25 Sep 2011 11:17:19 -0500 Subject: [PATCH] make the 'attempt to index a function value' stand out as a lua panid --- src/LuaManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaManager.cpp b/src/LuaManager.cpp index 97ab18b552..7e63a51030 100644 --- a/src/LuaManager.cpp +++ b/src/LuaManager.cpp @@ -222,7 +222,7 @@ static int LuaPanic( lua_State *L ) RString sErr; LuaHelpers::Pop( L, sErr ); - RageException::Throw( "%s", sErr.c_str() ); + RageException::Throw( "[Lua panic] %s", sErr.c_str() ); } // Actor registration