Skip to content
Snippets Groups Projects
Commit 8ed646c5 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Merge !1105: typo: fix occured -> occurred

parents 52d7e289 2223ad94
Branches
Tags
1 merge request!1105typo: fix occured -> occurred
Pipeline #73222 passed with warnings with stages
in 1 hour, 16 minutes, and 30 seconds
......@@ -76,7 +76,7 @@ void kr_bindings_register(lua_State *L)
void lua_error_p(lua_State *L, const char *fmt, ...)
{
/* Add a stack trace and throw the result as a lua error. */
luaL_traceback(L, L, "error occured here (config filename:lineno is at the bottom, if config is involved):", 0);
luaL_traceback(L, L, "error occurred here (config filename:lineno is at the bottom, if config is involved):", 0);
/* Push formatted custom message, prepended with "ERROR: ". */
lua_pushliteral(L, "\nERROR: ");
{
......
......@@ -19,7 +19,7 @@ day = 24 * hour
-- Logging
function panic(fmt, ...)
print(debug.traceback('error occured here (config filename:lineno is '
print(debug.traceback('error occurred here (config filename:lineno is '
.. 'at the bottom, if config is involved):', 2))
error(string.format('ERROR: '.. fmt, ...), 0)
end
......
......@@ -124,7 +124,7 @@ process for liveliness by connecting to the UNIX socket.
},
{
false, -- function failed
'error occured...', -- the returned error message
'error occurred...', -- the returned error message
['n'] = 2,
},
['n'] = 2,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment