aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-15 20:17:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-15 20:17:49 +0100
commitd42bdb532a6533794d74aeaf4f9cba6e6da9aa0a (patch)
treed663d73c6d6866585252eab2f49b90dd6ce2b348 /lualib
parent1f49c41254257b3fdaec171229fdfecc2f7d0a4d (diff)
downloadrspamd-d42bdb532a6533794d74aeaf4f9cba6e6da9aa0a.tar.gz
rspamd-d42bdb532a6533794d74aeaf4f9cba6e6da9aa0a.zip
[Minor] Remove exceptions search
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_clickhouse.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/lualib/lua_clickhouse.lua b/lualib/lua_clickhouse.lua
index 99865e6ee..1ce47542a 100644
--- a/lualib/lua_clickhouse.lua
+++ b/lualib/lua_clickhouse.lua
@@ -120,10 +120,6 @@ local function parse_clickhouse_response_json(params, data)
return nil, {}
end
- if data:match('DB::Exception') then
- return data, {}
- end
-
local function parse_string(s)
local parser = ucl.parser()
local res, err = parser:parse_string(s)