We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ba7b3 commit 1dea8b5Copy full SHA for 1dea8b5
src/scripting.c
@@ -220,7 +220,9 @@ int luaRedisGenericCommand(lua_State *lua, int raise_error) {
220
* To make this function reentrant is futile and makes it slower, but
221
* we should at least detect such a misuse, and abort. */
222
if (inuse) {
223
- redisPanic("luaRedisGenericCommand() recursive call detected. Are you doing funny stuff with Lua debug hooks?");
+ luaPushError(lua,
224
+ "luaRedisGenericCommand() recursive call detected. Are you doing funny stuff with Lua debug hooks?");
225
+ return 1;
226
}
227
inuse++;
228
0 commit comments