MCPcopy Create free account
hub / github.com/apache/trafficserver / ts_lua_emergency

Function ts_lua_emergency

plugins/lua/ts_lua_misc.cc:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230static int
231ts_lua_emergency(lua_State *L)
232{
233 const char *msg;
234 size_t len = 0;
235
236 msg = luaL_checklstring(L, 1, &len);
237 TSEmergency("%.*s", (int)len, msg);
238 return 0;
239}
240
241static int
242ts_lua_fatal(lua_State *L)

Callers

nothing calls this directly

Calls 1

TSEmergencyFunction · 0.85

Tested by

no test coverage detected