From: Perttu Ahola Date: Mon, 19 Mar 2012 06:23:48 +0000 (+0200) Subject: Make Lua error output in log clearer X-Git-Tag: 0.4.dev-20120320~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ef78cd81504261a1195fe72a93db18a71ad12a7;p=oweals%2Fminetest.git Make Lua error output in log clearer --- diff --git a/src/script.cpp b/src/script.cpp index 1925ea701..a159f2288 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 "<