From 9546576a9e449ac0d57246679af8b00d940af55b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 14 Jan 2019 17:25:56 +0000 Subject: [Minor] Fix some issues --- src/lua/lua_task.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lua/lua_task.c') diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 5728b3342..e8746f2bd 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1673,6 +1673,12 @@ lua_task_set_pre_result (lua_State * L) } if (action == NULL) { + struct rspamd_action *tmp; + + HASH_ITER (hh, task->cfg->actions, action, tmp) { + msg_err ("known action: %s = %f", action->name, action->threshold); + } + return luaL_error (L, "unknown action %s", lua_tostring (L, 2)); } -- cgit v1.2.3