MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / report

Function report

lua/lua.c:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63static int report (lua_State *L, int status) {
64 if (status && !lua_isnil(L, -1)) {
65 const char *msg = lua_tostring(L, -1);
66 if (msg == NULL) msg = "(error object is not a string)";
67 l_message(progname, msg);
68 lua_pop(L, 1);
69 }
70 return status;
71}
72
73
74static int traceback (lua_State *L) {

Callers 6

dofileFunction · 0.85
dostringFunction · 0.85
dolibraryFunction · 0.85
dottyFunction · 0.85
handle_scriptFunction · 0.85
mainFunction · 0.85

Calls 1

l_messageFunction · 0.85

Tested by

no test coverage detected