mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Fix missing detail in the error message in redbean (#768)
This only happens on calls that need to happen during active connection.
This commit is contained in:
parent
893703a07b
commit
58b2f9bd6b
1 changed files with 1 additions and 1 deletions
|
@ -3351,7 +3351,7 @@ static void OnlyCallFromMainProcess(lua_State *L, const char *api) {
|
|||
|
||||
static void OnlyCallDuringConnection(lua_State *L, const char *api) {
|
||||
if (!ishandlingconnection) {
|
||||
luaL_error(L, "%s() can only be called ", api,
|
||||
luaL_error(L, "%s() can only be called %s", api,
|
||||
"while handling a connection");
|
||||
unreachable;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue