Skip to content
Snippets Groups Projects
Commit 2223ad94 authored by Jakub Ružička's avatar Jakub Ružička
Browse files

typo: fix occured -> occurred

In English, the final letter is doubled when a word of two or more
syllables has stress on the final syllable so a correct form is
"occurred".
parent 52d7e289
No related branches found
No related tags found
1 merge request!1105typo: fix occured -> occurred
Pipeline #73110 passed
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment