This commit is contained in:
Enno Rehling 2009-05-10 08:21:38 +00:00
parent 0907203821
commit 290bac3082
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ my_lua_error(lua_State * L)
{ {
const char* error = lua_tostring(L, -1); const char* error = lua_tostring(L, -1);
log_error(("A LUA error occured: %s\n", error)); log_error(("A LUA error occurred: %s\n", error));
lua_pop(L, 1); lua_pop(L, 1);
if (!g_ignore_errors) abort(); if (!g_ignore_errors) abort();
return 1; return 1;