diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-30 17:23:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-30 17:23:31 +0000 |
commit | d3bb11ac4358dc6b96044bcb681112520cf9c272 (patch) | |
tree | db32b4a819b3b085a837c7a091567b369cb1e475 /src/lua/lua_common.c | |
parent | 3003f8f75fc3fa01012a9ebd20b0bdd332c938d7 (diff) | |
download | rspamd-d3bb11ac4358dc6b96044bcb681112520cf9c272.tar.gz rspamd-d3bb11ac4358dc6b96044bcb681112520cf9c272.zip |
[Fix] Allow to set priorities between post init scripts
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index 87474793c..482245ac9 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -2159,8 +2159,8 @@ rspamd_lua_run_config_post_init (lua_State *L, struct rspamd_config *cfg) rspamd_lua_setclass (L, "rspamd{config}", -1); if (lua_pcall (L, 1, 0, err_idx) != 0) { - msg_err_config ("cannot run config post init script: %s", - lua_tostring (L, -1)); + msg_err_config ("cannot run config post init script: %s; priority = %d", + lua_tostring (L, -1), sc->priority); } lua_settop (L, err_idx - 1); |