Fix status code return on err (#56)
This commit is contained in:
parent
d493b215c4
commit
0e4983a1a3
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ function csmod.AppSecCheck(ip)
|
|||
|
||||
if err ~= nil then
|
||||
ngx.log(ngx.ERR, "Fallback because of err: " .. err)
|
||||
return ok, remediation, err
|
||||
return ok, remediation, status_code, err
|
||||
end
|
||||
|
||||
if res.status == 200 then
|
||||
|
|
Loading…
Reference in a new issue