From: Perttu Ahola Date: Mon, 19 Mar 2012 06:23:48 +0000 (+0200) Subject: Make Lua error output in log clearer X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5ef78cd81504261a1195fe72a93db18a71ad12a7;p=zefram%2Fminetest%2Fminetest_engine.git Make Lua error output in log clearer --- diff --git a/src/script.cpp b/src/script.cpp index 1925ea70..a159f228 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -96,10 +96,13 @@ bool script_load(lua_State *L, const char *path) int ret = luaL_loadfile(L, path) || lua_pcall(L, 0, 0, errorhandler); if(ret){ - errorstream<<"Failed to load and run script from "<