eris: remove file+line from most error messages

This commit is contained in:
2021-03-18 12:36:55 -04:00
parent fa23ad87c7
commit 05052f846e
5 changed files with 11 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ static int luaB_auxwrap (lua_State *L) {
int r = auxresume(L, co, lua_gettop(L));
if (r < 0) {
if (lua_isstring(L, -1)) { /* error object is a string? */
luaL_where(L, 1); /* add extra info */
luaL_no_where(L, 1); /* add extra info */
lua_insert(L, -2);
lua_concat(L, 2);
}