commit d42bdb5: [Minor] Remove exceptions search

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Apr 15 19:28:09 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-15 20:17:49 +0100
URL: https://github.com/rspamd/rspamd/commit/d42bdb532a6533794d74aeaf4f9cba6e6da9aa0a

[Minor] Remove exceptions search

---
 lualib/lua_clickhouse.lua | 4 ----
 1 file changed, 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)


More information about the Commits mailing list